summaryrefslogtreecommitdiff
path: root/lib/svg
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-02-27 16:05:52 +0100
committerGitHub <noreply@github.com>2023-02-27 16:05:52 +0100
commitec076315bb8b5f901670fee1c06db028242b21fd (patch)
tree17cd3413f48cad338d95452d2d0aac96aac44d01 /lib/svg
parented4aa55a733986436853e2ee7ad22f757b09fcb1 (diff)
Various lock stitch options (#2006)
Co-authored-by: Lex Neva
Diffstat (limited to 'lib/svg')
-rw-r--r--lib/svg/tags.py11
1 files changed, 9 insertions, 2 deletions
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',