mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Use intersection instead of convex hull intersection
CURA-11293
This commit is contained in:
parent
b8e8f2ac0e
commit
4982680dfc
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ class BuildVolume(SceneNode):
|
|||
mb = MeshBuilder()
|
||||
color = self._disallowed_area_color
|
||||
for polygon in self._disallowed_areas:
|
||||
intersection = polygon.intersectionConvexHulls(bounding_box)
|
||||
intersection = polygon.intersection(bounding_box)
|
||||
points = numpy.fliplr(intersection.getPoints())
|
||||
if len(points) < 3:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue