mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
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:
parent
24950627dc
commit
e034e3f9e1
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue