summaryrefslogtreecommitdiff
path: root/templates/object_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/object_commands.inx
parenta4d588e392c734c9e32bf4c06b2403ca32e7f1e2 (diff)
integrate inx generation into ink/stitch proper
Diffstat (limited to 'templates/object_commands.inx')
-rw-r--r--templates/object_commands.inx22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/object_commands.inx b/templates/object_commands.inx
new file mode 100644
index 00000000..bba8602b
--- /dev/null
+++ b/templates/object_commands.inx
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <_name>Attach Commands</_name>
+ <id>org.inkstitch.commands</id>
+ <dependency type="executable" location="extensions">inkstitch.py</dependency>
+ <dependency type="executable" location="extensions">inkex.py</dependency>
+ <param name="fill_start" type="boolean" _gui-text="Fill stitch starting position">false</param>
+ <param name="fill_end" type="boolean" _gui-text="Fill stitch ending position">false</param>
+ <param name="stop" type="boolean" _gui-text="Stop after sewing this object">false</param>
+ <param name="trim" type="boolean" _gui-text="Trim thread after sewing this object">false</param>
+ <param name="ignore_object" type="boolean" _gui-text="Ignore this object (do not stitch)">false</param>
+ <param name="extension" type="string" gui-hidden="true">object_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>