From 4f7cd2885f4d0e725b33c919ef655af0240948cb Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 14 Jul 2022 16:23:46 +0200 Subject: Some updates for small issues in v2.2.0 (#1721) * * autorun - underpath tolerance * save pdf file format * fill no geoms error for linestring * to satin: do not fail on mixed element list --- lib/stitches/auto_run.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/stitches') diff --git a/lib/stitches/auto_run.py b/lib/stitches/auto_run.py index ab5762a3..ff26eb16 100644 --- a/lib/stitches/auto_run.py +++ b/lib/stitches/auto_run.py @@ -270,6 +270,7 @@ def create_element(path, position, direction, element): # Set Ink/Stitch attributes stitch_length = element.node.get(INKSTITCH_ATTRIBS['running_stitch_length_mm'], '') + tolerance = element.node.get(INKSTITCH_ATTRIBS['running_stitch_tolerance_mm'], '') repeats = int(element.node.get(INKSTITCH_ATTRIBS['repeats'], 1)) if repeats % 2 == 0: repeats -= 1 @@ -284,6 +285,8 @@ def create_element(path, position, direction, element): else: if stitch_length: node.set(INKSTITCH_ATTRIBS['running_stitch_length_mm'], stitch_length) + if tolerance: + node.set(INKSTITCH_ATTRIBS['running_stitch_tolerance_mm'], tolerance) node.set("style", element.node.style + inkex.Style("stroke-dasharray:0.5,0.5;fill:none;")) return Stroke(node) -- cgit v1.2.3