mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix offsetting polygon in single extrusion
In single extrusion, the machine_nozzle_offset_x and machine_nozzle_offset_y were not defined in the used extruder stacks, because the used extruder stack is the global stack. Contributes to issue CURA-2625.
This commit is contained in:
parent
48134619eb
commit
5ddc1d9d71
1 changed files with 4 additions and 0 deletions
|
@ -523,7 +523,11 @@ class BuildVolume(SceneNode):
|
|||
for extruder in used_extruders:
|
||||
extruder_id = extruder.getId()
|
||||
offset_x = extruder.getProperty("machine_nozzle_offset_x", "value")
|
||||
if not offset_x:
|
||||
offset_x = 0
|
||||
offset_y = extruder.getProperty("machine_nozzle_offset_y", "value")
|
||||
if not offset_y:
|
||||
offset_y = 0
|
||||
result[extruder_id] = []
|
||||
|
||||
for polygon in machine_disallowed_polygons:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue