From 45eb301f9b3e32f36b4fcfe2777bc3f9f177949d Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 28 Jun 2017 13:55:45 +0200 Subject: [PATCH] Added the no-nozzle offset for all polygons CURA-3663 --- cura/BuildVolume.py | 6 +++--- 1 file 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