From 612f18dc711c6a0fbf554465174b449604abb374 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 31 Aug 2025 11:25:46 +0200 Subject: stroke to satin: ensure a good starting point for closed paths (#3944) starting point for the conversion, not necessarily the resulting column --- lib/elements/element.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/elements/element.py') diff --git a/lib/elements/element.py b/lib/elements/element.py index d830012f..fdc0233f 100644 --- a/lib/elements/element.py +++ b/lib/elements/element.py @@ -467,6 +467,10 @@ class EmbroideryElement(object): return inkex.Path(d).to_superpath() + @property + def is_closed_path(self): + return isinstance(self.node.get_path()[-1], inkex.paths.ZoneClose) + @cache def parse_path(self): return apply_transforms(self.path, self.node) -- cgit v1.2.3