From 4982680dfce39bb189c0a3a4b1c7bb41480123a0 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Thu, 9 Nov 2023 16:22:52 +0100 Subject: [PATCH] Use intersection instead of convex hull intersection CURA-11293 --- cura/BuildVolume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index b52ba095fc..7b10ba3ffc 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -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