diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-05-17 09:57:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-17 09:57:16 +0200 |
| commit | 4cda460741c03fba48e71bd7a1afffaa0890f575 (patch) | |
| tree | 61781effde9e8ba0d8e137c5eda2d93aeb620713 | |
| parent | b024dc57f2edd5c05b40cf9c3426d61169793ecc (diff) | |
filter invalid paths in satins (#2916)
| -rw-r--r-- | lib/elements/satin_column.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/satin_column.py b/lib/elements/satin_column.py index 063a95b8..cfe4c1f4 100644 --- a/lib/elements/satin_column.py +++ b/lib/elements/satin_column.py @@ -546,7 +546,7 @@ class SatinColumn(EmbroideryElement): def csp(self): paths = self.parse_path() # exclude subpaths which are just a point - paths = [path for path in paths if len(path) >= 2] + paths = [path for path in paths if shgeo.MultiLineString(path).length > 0] return paths @property |
