mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 14:45:55 +08:00
Merge branch '2.3'
This commit is contained in:
commit
1fbd179aaa
@ -270,7 +270,11 @@ class ExtruderManager(QObject):
|
|||||||
def getAllExtruderValues(self, setting_key):
|
def getAllExtruderValues(self, setting_key):
|
||||||
return self.getAllExtruderSettings(setting_key, "value")
|
return self.getAllExtruderSettings(setting_key, "value")
|
||||||
|
|
||||||
## Gets a
|
## Gets a property of a setting for all extruders.
|
||||||
|
#
|
||||||
|
# \param setting_key \type{str} The setting to get the property of.
|
||||||
|
# \param property \type{str} The property to get.
|
||||||
|
# \return \type{List} the list of results
|
||||||
def getAllExtruderSettings(self, setting_key, property):
|
def getAllExtruderSettings(self, setting_key, property):
|
||||||
global_container_stack = UM.Application.getInstance().getGlobalContainerStack()
|
global_container_stack = UM.Application.getInstance().getGlobalContainerStack()
|
||||||
if global_container_stack.getProperty("machine_extruder_count", "value") <= 1:
|
if global_container_stack.getProperty("machine_extruder_count", "value") <= 1:
|
||||||
|
@ -155,6 +155,6 @@
|
|||||||
"wall_0_inset": { "value": "0" },
|
"wall_0_inset": { "value": "0" },
|
||||||
"wall_line_width_x": { "value": "round(line_width * 0.3 / 0.35, 2)" },
|
"wall_line_width_x": { "value": "round(line_width * 0.3 / 0.35, 2)" },
|
||||||
"wall_thickness": { "value": "1" },
|
"wall_thickness": { "value": "1" },
|
||||||
"xy_offset": { "value": "-0.14" }
|
"xy_offset": { "value": "-0.14", "comment": "This is a hack to compensate for oversized prints. CURA-2845" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user