mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Merge pull request #4521 from Ultimaker/CURA-5799_fix_extruder_settings_to_curaengine
[3.5] CURA-5799 Fix sending extruder settings to curaengine
This commit is contained in:
commit
0b70b9a218
1 changed files with 4 additions and 1 deletions
|
@ -251,7 +251,10 @@ class StartSliceJob(Job):
|
||||||
self._buildGlobalInheritsStackMessage(stack)
|
self._buildGlobalInheritsStackMessage(stack)
|
||||||
|
|
||||||
# Build messages for extruder stacks
|
# Build messages for extruder stacks
|
||||||
for extruder_stack in ExtruderManager.getInstance().getMachineExtruders(stack.getId()):
|
# Send the extruder settings in the order of extruder positions. Somehow, if you send e.g. extruder 3 first,
|
||||||
|
# then CuraEngine can slice with the wrong settings. This I think should be fixed in CuraEngine as well.
|
||||||
|
extruder_stack_list = sorted(list(global_stack.extruders.items()), key = lambda item: int(item[0]))
|
||||||
|
for _, extruder_stack in extruder_stack_list:
|
||||||
self._buildExtruderMessage(extruder_stack)
|
self._buildExtruderMessage(extruder_stack)
|
||||||
|
|
||||||
for group in filtered_object_groups:
|
for group in filtered_object_groups:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue