mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-30 18:15:59 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
82663a727f
@ -275,7 +275,11 @@ class CuraEngineBackend(QObject, Backend):
|
||||
error_labels = set()
|
||||
definition_container = self._global_container_stack.getBottom()
|
||||
for key in error_keys:
|
||||
error_labels.add(definition_container.findDefinitions(key = key)[0].label)
|
||||
definitions = definition_container.findDefinitions(key = key)
|
||||
if definitions:
|
||||
error_labels.add(definitions[0].label)
|
||||
else:
|
||||
Logger.log("w", "Unable to find definition for key: {key}".format(key = key))
|
||||
|
||||
error_labels = ", ".join(error_labels)
|
||||
self._error_message = Message(catalog.i18nc("@info:status", "Unable to slice with the current settings. The following settings have errors: {0}".format(error_labels)))
|
||||
|
@ -29,7 +29,11 @@ Cura.MachineAction
|
||||
repeat: false
|
||||
interval: 1
|
||||
|
||||
onTriggered: base.extruderTabsCount = (machineExtruderCountProvider.properties.value > 1) ? parseInt(machineExtruderCountProvider.properties.value) : 0
|
||||
onTriggered:
|
||||
{
|
||||
var extruderCount = parseInt(machineExtruderCountProvider.properties.value);
|
||||
base.extruderTabsCount = (extruderCount > 1) ? extruderCount : 0;
|
||||
}
|
||||
}
|
||||
|
||||
Connections
|
||||
@ -42,6 +46,7 @@ Cura.MachineAction
|
||||
onAccepted: manager.onFinishAction()
|
||||
onRejected: manager.onFinishAction()
|
||||
onClosing: manager.onFinishAction()
|
||||
onVisibilityChanged: extruderTabsCountDelay.start()
|
||||
}
|
||||
|
||||
anchors.fill: parent;
|
||||
|
@ -259,7 +259,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension):
|
||||
i = 0
|
||||
while True:
|
||||
values = winreg.EnumValue(key, i)
|
||||
if not only_list_usb or "USBSER" in values[0]:
|
||||
if not only_list_usb or "USBSER" or "VCP" in values[0]:
|
||||
base_list += [values[1]]
|
||||
i += 1
|
||||
except Exception as e:
|
||||
|
@ -14,23 +14,29 @@
|
||||
},
|
||||
"overrides": {
|
||||
"machine_name": { "default_value": "Delta Go" },
|
||||
"material_diameter": { "default_value": 1.75 },
|
||||
"material_diameter": { "default_value": 1.75 },
|
||||
"default_material_print_temperature": { "default_value": 210 },
|
||||
"speed_travel": { "default_value": 150 },
|
||||
"prime_tower_size": { "default_value": 8.66 },
|
||||
"infill_sparse_density": { "default_value": 10 },
|
||||
"prime_tower_size": { "default_value": 8.66 },
|
||||
"infill_sparse_density": { "default_value": 10 },
|
||||
"speed_wall_x": { "default_value": 30 },
|
||||
"speed_wall_0": { "default_value": 30 },
|
||||
"speed_topbottom": { "default_value": 20 },
|
||||
"layer_height": { "default_value": 0.2 },
|
||||
"layer_height": { "default_value": 0.15 },
|
||||
"speed_print": { "default_value": 30 },
|
||||
"machine_heated_bed": { "default_value": false },
|
||||
"machine_center_is_zero": { "default_value": true },
|
||||
"machine_height": { "default_value": 127 },
|
||||
"machine_gcode_flavor": { "default_value": "RepRap (Marlin/Sprinter)" },
|
||||
"machine_heated_bed": { "default_value": false },
|
||||
"machine_center_is_zero": { "default_value": true },
|
||||
"machine_height": { "default_value": 154 },
|
||||
"machine_gcode_flavor": { "default_value": "RepRap (Marlin/Sprinter)" },
|
||||
"machine_depth": { "default_value": 115 },
|
||||
"machine_width": { "default_value": 115 },
|
||||
"retraction_amount": { "default_value": 4.2 },
|
||||
"retraction_speed": { "default_value": 400 },
|
||||
"machine_shape": { "default_value": "elliptic"}
|
||||
"raft_airgap": { "default_value": 0.15 },
|
||||
"retraction_hop_enabled": { "value": "True" },
|
||||
"retraction_amount": { "default_value": 4.1 },
|
||||
"retraction_speed": { "default_value": 500 },
|
||||
"retraction_hop": { "value": "0.2" },
|
||||
"retraction_hop_only_when_collides": { "value": "True" },
|
||||
"brim_width": { "value": "5" },
|
||||
"machine_shape": { "default_value": "elliptic"}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user