summaryrefslogtreecommitdiff
path: root/templates/layer_commands.inx
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-19 22:14:10 -0400
committerLex Neva <github.com@lexneva.name>2018-08-19 22:14:10 -0400
commit512c3411648b24505165d555a04e82ba689f8aed (patch)
tree3eb79343f2be57bace6e2f3e62cfe319d7fdb2f1 /templates/layer_commands.inx
parenta4d588e392c734c9e32bf4c06b2403ca32e7f1e2 (diff)
integrate inx generation into ink/stitch proper
Diffstat (limited to 'templates/layer_commands.inx')
-rw-r--r--templates/layer_commands.inx19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/layer_commands.inx b/templates/layer_commands.inx
new file mode 100644
index 00000000..7eadd094
--- /dev/null
+++ b/templates/layer_commands.inx
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <_name>Add Layer Commands</_name>
+ <id>org.inkstitch.layer_commands</id>
+ <dependency type="executable" location="extensions">inkstitch.py</dependency>
+ <dependency type="executable" location="extensions">inkex.py</dependency>
+ <param name="description" type="description">Commands will be added to the currently-selected layer.</param>
+ <param name="ignore_layer" type="boolean" _gui-text="Ignore layer (do not stitch any objects in this layer)">false</param>
+ <param name="extension" type="string" gui-hidden="true">layer_commands</param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu _name="Embroidery" />
+ </effects-menu>
+ </effect>
+ <script>
+ <command reldir="extensions" interpreter="python">inkstitch.py</command>
+ </script>
+</inkscape-extension>