diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-06-12 20:54:51 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-06-15 21:44:05 -0400 |
| commit | 40a343128043b7d2ebe3a770dfae887e969fc5e0 (patch) | |
| tree | 09ccd869a8860147062a07107ce39b7bf021daa0 /templates | |
| parent | 28e8efebf2a721239fa996865f9ef228e3521121 (diff) | |
add output INX generator
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/embroider_input.inx | 1 | ||||
| -rw-r--r-- | templates/embroider_output.inx | 19 |
2 files changed, 19 insertions, 1 deletions
diff --git a/templates/embroider_input.inx b/templates/embroider_input.inx index 24bba7e4..15ccdef8 100644 --- a/templates/embroider_input.inx +++ b/templates/embroider_input.inx @@ -15,4 +15,3 @@ <command reldir="extensions" interpreter="python">inkstitch.py</command> </script> </inkscape-extension> - diff --git a/templates/embroider_output.inx b/templates/embroider_output.inx new file mode 100644 index 00000000..4f971fb3 --- /dev/null +++ b/templates/embroider_output.inx @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <_name>{{ format | upper }} file output</_name> + <id>org.inkstitch.output.{{ format }}</id> + <dependency type="executable" location="extensions">inkstitch.py</dependency> + <dependency type="executable" location="extensions">inkex.py</dependency> + <output> + <extension>.{{ format }}</extension> + <mimetype>application/x-embroidery-{{ format }}</mimetype> + <_filetypename>Ink/Stitch: {{ description }} (.{{ format }})</_filetypename> + <_filetypetooltip>Save design in {{ format | upper }} format using Ink/Stitch</_filetypetooltip> + <dataloss>true</dataloss> + </output> + <param name="extension" type="string" gui-hidden="true">output</param> + <param name="format" type="string" gui-hidden="true">{{ format }}</param> + <script> + <command reldir="extensions" interpreter="python">inkstitch.py</command> + </script> +</inkscape-extension> |
