diff --git a/lib/elements/stroke.py b/lib/elements/stroke.py index 7c1c39fd8..14501c87c 100644 --- a/lib/elements/stroke.py +++ b/lib/elements/stroke.py @@ -508,7 +508,7 @@ class Stroke(EmbroideryElement): @cache def as_multi_line_string(self): - line_strings = [shgeo.LineString(path) for path in self.paths] + line_strings = [shgeo.LineString(path) for path in self.paths if len(path) > 1] return shgeo.MultiLineString(line_strings) @property