mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:39:01 +08:00
Revert "Use intersection instead of convex hull intersection"
This reverts commit 4982680dfce39bb189c0a3a4b1c7bb41480123a0.
This commit is contained in:
parent
4982680dfc
commit
2be72ca22b
@ -494,7 +494,7 @@ class BuildVolume(SceneNode):
|
||||
mb = MeshBuilder()
|
||||
color = self._disallowed_area_color
|
||||
for polygon in self._disallowed_areas:
|
||||
intersection = polygon.intersection(bounding_box)
|
||||
intersection = polygon.intersectionConvexHulls(bounding_box)
|
||||
points = numpy.fliplr(intersection.getPoints())
|
||||
if len(points) < 3:
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user