Revert "Use intersection instead of convex hull intersection"

This reverts commit 4982680dfce39bb189c0a3a4b1c7bb41480123a0.
This commit is contained in:
c.lamboo 2023-11-10 18:00:00 +01:00
parent 4982680dfc
commit 2be72ca22b

View File

@ -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