diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-06-28 14:55:45 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-06-28 14:55:45 +0300 |
commit | 45eb301f9b3e32f36b4fcfe2777bc3f9f177949d (patch) | |
tree | c705642f78f68f1fcce429146cfb36c131d4de0f /cura/BuildVolume.py | |
parent | b7165ad41da69ef29965a63e60907c55ae286620 (diff) |
Added the no-nozzle offset for all polygons
CURA-3663
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-x | cura/BuildVolume.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 33927c4a98..353ef00040 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -731,9 +731,9 @@ class BuildVolume(SceneNode): if offset_y is None: offset_y = 0 result[extruder_id] = [] - - for polygon in machine_disallowed_polygons: - result[extruder_id].append(polygon.translate(offset_x, offset_y)) #Compensate for the nozzle offset of this extruder. + if not no_nozzle_offsetting_for_disallowed_areas: + for polygon in machine_disallowed_polygons: + result[extruder_id].append(polygon.translate(offset_x, offset_y)) #Compensate for the nozzle offset of this extruder. #Add the border around the edge of the build volume. left_unreachable_border = 0 |