diff options
| author | Kaalleen <reni@allenka.de> | 2021-06-28 20:05:50 +0200 |
|---|---|---|
| committer | Kaalleen <reni@allenka.de> | 2021-06-28 20:05:50 +0200 |
| commit | ecacb9829e9c2b7050486707211f9d176aafdf75 (patch) | |
| tree | f6f30f9707a9c3f603ce896b0b95dbe5c4b13dc1 /lib/commands.py | |
| parent | 2f54ff2a436f2774bfdc730b6e95c43f18ed81ac (diff) | |
pattern markers
Diffstat (limited to 'lib/commands.py')
| -rw-r--r-- | lib/commands.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/commands.py b/lib/commands.py index ea6d3509..cb2a74d5 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -60,7 +60,6 @@ COMMANDS = { } OBJECT_COMMANDS = ["fill_start", "fill_end", "satin_start", "satin_end", "stop", "trim", "ignore_object", "satin_cut_point"] -GROUP_COMMANDS = ["pattern_group"] LAYER_COMMANDS = ["ignore_layer"] GLOBAL_COMMANDS = ["origin", "stop_position"] @@ -187,12 +186,6 @@ def find_commands(node): return commands -def group_commands(node, command): - xpath = "./ancestor::svg:g/svg:use[@xlink:href='#inkstitch_%(command)s']" % dict(id=node.get('id'), command=command) - group_command = node.xpath(xpath, namespaces=inkex.NSS) - return group_command - - def layer_commands(layer, command): """Find standalone (unconnected) command symbols in this layer.""" |
