From bcd4dd3aeb6b9f4588e39919f13460bad44c4464 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 11 Nov 2016 15:14:15 +0100 Subject: [PATCH] Fix applying skirt radius to prime locations This makes the prime locations equal to what it was before. Contributes to issue CURA-2625. --- cura/BuildVolume.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 8f59ae8d32..63d54d07f4 100644 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -378,6 +378,7 @@ class BuildVolume(SceneNode): self._error_areas = [] + disallowed_border_size = self._getEdgeDisallowedSize() result_areas = self._computeDisallowedAreasStatic() machine_width = self._global_container_stack.getProperty("machine_width", "value") @@ -404,7 +405,7 @@ class BuildVolume(SceneNode): prime_polygon = Polygon.approximatedCircle(PRIME_CLEARANCE) prime_polygon = prime_polygon.translate(prime_x, prime_y) - prime_polygon = prime_polygon.getMinkowskiHull(Polygon.approximatedCircle(0)) + prime_polygon = prime_polygon.getMinkowskiHull(Polygon.approximatedCircle(disallowed_border_size)) collision = False # Check if prime polygon is intersecting with any of the other disallowed areas.