Fix #7438 - increase tolerance in making Shapely fills

This commit is contained in:
Ryan Schultz
2025-12-01 11:01:52 -06:00
parent ad812bda47
commit f083425656
@@ -1007,7 +1007,7 @@ class CreateDrawing(bpy.types.Operator):
for polygon in closed_polygons.geoms: for polygon in closed_polygons.geoms:
# Less than 1mm2 is not worth styling on sheet # Less than 1mm2 is not worth styling on sheet
if polygon.area < 1: if polygon.area < .1:
continue continue
centroid = polygon.centroid centroid = polygon.centroid
centroid = centroid if polygon.contains(centroid) else polygon.representative_point() centroid = centroid if polygon.contains(centroid) else polygon.representative_point()