diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-16 22:50:34 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-16 22:50:34 -0400 |
| commit | 19bb8a5a6dbe4244a590147187949d0555eb9fbc (patch) | |
| tree | 84aec45e6c1236754fedbe58e5464cccabc7c2c8 /inx | |
| parent | 751173080bbc87158619cd98d75c9854ce2d8d01 (diff) | |
new extension to add layer commands
Diffstat (limited to 'inx')
| -rw-r--r-- | inx/inkstitch_attach_commands.inx (renamed from inx/inkstitch_commands.inx) | 4 | ||||
| -rw-r--r-- | inx/inkstitch_layer_commands.inx | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/inx/inkstitch_commands.inx b/inx/inkstitch_attach_commands.inx index 33bd990a..61cf7213 100644 --- a/inx/inkstitch_commands.inx +++ b/inx/inkstitch_attach_commands.inx @@ -8,8 +8,8 @@ <param name="fill_end" type="boolean" _gui-text="Fill 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" type="boolean" _gui-text="Ignore this object (do not stitch)">false</param> - <param name="extension" type="string" gui-hidden="true">commands</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> diff --git a/inx/inkstitch_layer_commands.inx b/inx/inkstitch_layer_commands.inx new file mode 100644 index 00000000..7eadd094 --- /dev/null +++ b/inx/inkstitch_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> |
