summaryrefslogtreecommitdiff
path: root/lib/extensions/cutwork_segmentation.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-01-07 09:32:33 +0100
committerGitHub <noreply@github.com>2023-01-07 09:32:33 +0100
commita7b2122d91703d72177cf980cecbef8fca3d54ec (patch)
tree48d8602c5480cc8e88405f86abb3a43f61dd7db5 /lib/extensions/cutwork_segmentation.py
parent90e3d34f2a7019af09023b64c43a429dbb5b2d29 (diff)
Cutwork needle info (#1988)
* add cutwork needle info to thread color * apply threadlist: apply cutwork_needle attribute
Diffstat (limited to 'lib/extensions/cutwork_segmentation.py')
-rw-r--r--lib/extensions/cutwork_segmentation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/extensions/cutwork_segmentation.py b/lib/extensions/cutwork_segmentation.py
index 22b39e4b..537cfadf 100644
--- a/lib/extensions/cutwork_segmentation.py
+++ b/lib/extensions/cutwork_segmentation.py
@@ -147,6 +147,7 @@ class CutworkSegmentation(InkstitchExtension):
"transform": get_correction_transform(element.node),
INKSTITCH_ATTRIBS["ties"]: "3",
INKSTITCH_ATTRIBS["running_stitch_length_mm"]: "1",
+ INKSTITCH_ATTRIBS["cutwork_needle"]: str(sector['id']),
"d": d
})
self.new_elements.append([stroke_element, sector['id']])