mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +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:
|
||||
# Less than 1mm2 is not worth styling on sheet
|
||||
if polygon.area < 1:
|
||||
if polygon.area < .1:
|
||||
continue
|
||||
centroid = polygon.centroid
|
||||
centroid = centroid if polygon.contains(centroid) else polygon.representative_point()
|
||||
|
||||
Reference in New Issue
Block a user