diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-04-27 19:49:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-27 19:49:12 +0200 |
| commit | c00084e3a22920878879af5efbaad9b1f7cf66a4 (patch) | |
| tree | 86da3b15e0880934705c5a67a50824012e107785 /lib/elements/fill_stitch.py | |
| parent | 0d19853b1813e9989d1e4b0ff54a083e87660fca (diff) | |
fill: ensure size (#2240)
Diffstat (limited to 'lib/elements/fill_stitch.py')
| -rw-r--r-- | lib/elements/fill_stitch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py index df990652..b310ce47 100644 --- a/lib/elements/fill_stitch.py +++ b/lib/elements/fill_stitch.py @@ -531,7 +531,7 @@ class FillStitch(EmbroideryElement): polygons = [] for polygon in valid_shape.geoms: - if isinstance(polygon, shgeo.Polygon): + if isinstance(polygon, shgeo.Polygon) and polygon.area > 5: polygons.append(polygon) if isinstance(polygon, shgeo.MultiPolygon): polygons.extend(polygon.geoms) |
