mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 03:59:55 +00:00
Fix #7438 - increase tolerance in making Shapely fills
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user