From ec076315bb8b5f901670fee1c06db028242b21fd Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 27 Feb 2023 16:05:52 +0100 Subject: Various lock stitch options (#2006) Co-authored-by: Lex Neva --- lib/svg/tags.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lib/svg') diff --git a/lib/svg/tags.py b/lib/svg/tags.py index 5a7d31c2..60250dec 100644 --- a/lib/svg/tags.py +++ b/lib/svg/tags.py @@ -3,9 +3,8 @@ # Copyright (c) 2010 Authors # Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. -from lxml import etree - import inkex +from lxml import etree etree.register_namespace("inkstitch", "http://inkstitch.org/namespace") inkex.NSS['inkstitch'] = 'http://inkstitch.org/namespace' @@ -53,6 +52,14 @@ INKSTITCH_ATTRIBS = {} inkstitch_attribs = [ 'ties', 'force_lock_stitches', + 'lock_start', + 'lock_start_scale_mm', + 'lock_start_scale_percent', + 'lock_custom_start', + 'lock_end', + 'lock_end_scale_mm', + 'lock_end_scale_percent', + 'lock_custom_end', # clone 'clone', 'flip_angle', -- cgit v1.2.3