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
This commit is contained in:
Jaime van Kessel 2016-04-08 09:58:34 +02:00
parent 24950627dc
commit e034e3f9e1

View file

@ -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. # 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. # 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() profile = Application.getInstance().getMachineManager().getWorkingProfile()
if profile: if profile: