mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Invert Y direction of nozzle offsets
If there is a Y offset it should now move the disallowed areas in the correct direction The initial placement of the disallowed borders was already correct. Fixes #1977.
This commit is contained in:
parent
3fe8709fd8
commit
396ea274c4
1 changed files with 1 additions and 0 deletions
|
|
@ -826,6 +826,7 @@ class BuildVolume(SceneNode):
|
||||||
offset_y = extruder.getProperty("machine_nozzle_offset_y", "value")
|
offset_y = extruder.getProperty("machine_nozzle_offset_y", "value")
|
||||||
if offset_y is None:
|
if offset_y is None:
|
||||||
offset_y = 0
|
offset_y = 0
|
||||||
|
offset_y = -offset_y #Y direction of g-code is the inverse of Y direction of Cura's scene space.
|
||||||
result[extruder_id] = []
|
result[extruder_id] = []
|
||||||
|
|
||||||
for polygon in machine_disallowed_polygons:
|
for polygon in machine_disallowed_polygons:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue