From e034e3f9e1136a5249aefc6f1affeedc57a4634f Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 8 Apr 2016 09:58:34 +0200 Subject: [PATCH] Extra hull area now matches the assumptions in the rest of the code It's now also correct according to the original documentation. CURA-435 --- cura/ConvexHullJob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/ConvexHullJob.py b/cura/ConvexHullJob.py index 7ef63e61e8..b934fa494b 100644 --- a/cura/ConvexHullJob.py +++ b/cura/ConvexHullJob.py @@ -47,7 +47,7 @@ class ConvexHullJob(Job): # Then, do a Minkowski hull with a simple 1x1 quad to outset and round the normal convex hull. # This is done because of rounding errors. - hull = hull.getMinkowskiHull(Polygon(numpy.array([[-1, -1], [-1, 1], [1, 1], [1, -1]], numpy.float32))) + hull = hull.getMinkowskiHull(Polygon(numpy.array([[-0.5, -0.5], [-0.5, 0.5], [0.5, 0.5], [0.5, -0.5]], numpy.float32))) profile = Application.getInstance().getMachineManager().getWorkingProfile() if profile: