kopia lustrzana https://github.com/inkstitch/inkstitch
fill: ensure size (#2240)
rodzic
0d19853b18
commit
c00084e3a2
|
@ -531,7 +531,7 @@ class FillStitch(EmbroideryElement):
|
||||||
|
|
||||||
polygons = []
|
polygons = []
|
||||||
for polygon in valid_shape.geoms:
|
for polygon in valid_shape.geoms:
|
||||||
if isinstance(polygon, shgeo.Polygon):
|
if isinstance(polygon, shgeo.Polygon) and polygon.area > 5:
|
||||||
polygons.append(polygon)
|
polygons.append(polygon)
|
||||||
if isinstance(polygon, shgeo.MultiPolygon):
|
if isinstance(polygon, shgeo.MultiPolygon):
|
||||||
polygons.extend(polygon.geoms)
|
polygons.extend(polygon.geoms)
|
||||||
|
|
Ładowanie…
Reference in New Issue