From 89b472d319d7247fb2ff19eb8d264a80baff8df7 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 15 Mar 2025 08:51:40 +0100 Subject: Element info: take pattern into account (#3581) * element info: take pattern into account * ensure multi-polygon for fill nonzero shapes --- lib/extensions/element_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/extensions/element_info.py') diff --git a/lib/extensions/element_info.py b/lib/extensions/element_info.py index 06acbb16..ed879f43 100644 --- a/lib/extensions/element_info.py +++ b/lib/extensions/element_info.py @@ -40,7 +40,7 @@ class ElementInfo(InkstitchExtension): app.MainLoop() def _element_info(self, element, previous_stitch_group, next_element): - stitch_groups = element.to_stitch_groups(previous_stitch_group) + stitch_groups = element.embroider(previous_stitch_group, next_element) stitch_plan = stitch_groups_to_stitch_plan( stitch_groups, collapse_len=self.metadata['collapse_len_mm'], -- cgit v1.2.3