mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix convex hull and other bits so they use the new API
This commit is contained in:
parent
a8c302a8ed
commit
792c3426f8
3 changed files with 4 additions and 4 deletions
|
@ -45,7 +45,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)))
|
||||
settings = Application.getInstance().getActiveMachine()
|
||||
settings = Application.getInstance().getMachineManager().getActiveMachineInstance()
|
||||
|
||||
if settings.getSettingValueByKey("print_sequence") == "One at a time" and not self._node.getParent().callDecoration("isGroup"):
|
||||
# Printing one at a time and it's not an object in a group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue