mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:19:02 +08:00
Use intersection instead of convex hull intersection
CURA-11293
This commit is contained in:
parent
b8e8f2ac0e
commit
4982680dfc
@ -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…
x
Reference in New Issue
Block a user