From b009a5355e7ceea477ea55eacba2149a9398b37e Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 19 Apr 2025 07:11:57 +0200 Subject: duplicate-consistant autoroute element selection (#3638) --- lib/stitches/auto_run.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/stitches/auto_run.py') diff --git a/lib/stitches/auto_run.py b/lib/stitches/auto_run.py index 760d0393..85c575bf 100644 --- a/lib/stitches/auto_run.py +++ b/lib/stitches/auto_run.py @@ -273,14 +273,17 @@ def create_element(path, position, direction, element): if direction == "autorun": label = _("AutoRun %d") % index dasharray = 'none' + path_type = 'autorun-top' else: label = _("AutoRun Underpath %d") % index dasharray = '2 1.1' + path_type = 'autorun-underpath' node = inkex.PathElement() node.set("id", generate_unique_id(element.node, el_id)) node.set(INKSCAPE_LABEL, label) node.set("d", path) + node.set("inkstitch:path_type", path_type) node.set("style", element.node.style) node.style["fill"] = 'none' node.style["stroke-dasharray"] = dasharray -- cgit v1.2.3