Finally, use the new convex hull code to compute the object 'shadow' and exclusion zones.

Contributes to CURA-1504
This commit is contained in:
Simon Edwards 2016-05-23 13:47:21 +02:00
parent 0b858f3878
commit d7127b800c
5 changed files with 222 additions and 79 deletions

View file

@ -278,9 +278,11 @@ class CuraApplication(QtApplication):
count += 1
if not scene_boundingbox:
scene_boundingbox = copy.deepcopy(node.getBoundingBox())
scene_boundingbox = node.getBoundingBox()
else:
scene_boundingbox += node.getBoundingBox()
other_bb = node.getBoundingBox()
if other_bb is not None:
scene_boundingbox = scene_boundingbox + node.getBoundingBox()
if not scene_boundingbox:
scene_boundingbox = AxisAlignedBox.Null