mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Finally, use the new convex hull code to compute the object 'shadow' and exclusion zones.
Contributes to CURA-1504
This commit is contained in:
parent
0b858f3878
commit
d7127b800c
5 changed files with 222 additions and 79 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue