diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/lettering_force_lock_stitches.xml | 2 | ||||
| -rw-r--r-- | templates/output.xml | 2 | ||||
| -rw-r--r-- | templates/remove_embroidery_settings.xml | 17 | ||||
| -rw-r--r-- | templates/zip.xml | 35 |
4 files changed, 43 insertions, 13 deletions
diff --git a/templates/lettering_force_lock_stitches.xml b/templates/lettering_force_lock_stitches.xml index ee7049ad..4228a698 100644 --- a/templates/lettering_force_lock_stitches.xml +++ b/templates/lettering_force_lock_stitches.xml @@ -21,7 +21,7 @@ This extension has been build to help font authors to define "force lock stitches"-attributes automatically if they are placed in a predefined distance to the next object. </param> <param indent="1" name="min_distance" type="float" gui-text="Minimum distance (mm)" min="0" max="3">1</param> - <param indent="1" name="max_distance" type="float" gui-text="Minimum distance (mm)" min="1" max="10">3</param> + <param indent="1" name="max_distance" type="float" gui-text="Maximum distance (mm)" min="1" max="10">3</param> <separator /> <param indent="1" name="last_element" type="boolean" gui-text="Add force lock stitches attribute to the last element of each glyph">false</param> <script> diff --git a/templates/output.xml b/templates/output.xml index 5c35ca7d..e7bef131 100644 --- a/templates/output.xml +++ b/templates/output.xml @@ -2,7 +2,7 @@ <inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension"> <name>{{ format | upper }} file output</name> <id>org.inkstitch.output.{{ format }}</id> - <output> + <output is_exported="true"> <extension>.{{ format }}</extension> <mimetype>{{ mimetype }}</mimetype> <filetypename>Ink/Stitch: {{ description }} (.{{ format }})</filetypename> diff --git a/templates/remove_embroidery_settings.xml b/templates/remove_embroidery_settings.xml index be3615dc..478fd44c 100644 --- a/templates/remove_embroidery_settings.xml +++ b/templates/remove_embroidery_settings.xml @@ -5,8 +5,21 @@ <param name="description" type="description">Use this extension to remove the information Ink/Stitch has stored in your document. This can be especially useful if you copy and paste objects from an embroidery design into another document.</param> <param name="del_params" type="boolean" gui-text="Remove Params" gui-description="Removes params from selected objects or all objects if nothing is selected.">true</param> - <param name="del_commands" type="boolean" gui-text="Remove Commands" - gui-description="Removes visual commands from selected objects or all objects if nothing is selected.">false</param> + <param name="del_commands" type="optiongroup" gui-text="Remove Commands" + gui-description="Removes visual commands from selected objects or all objects if nothing is selected." + appearance="combo"> + <option value="none">None</option> + <option value="all">All</option> + {%- for command, description in object_commands -%} + <option value="{{ command }}">{{ description }}</option> + {% endfor %} + {% for command, description in layer_commands %} + <option value="{{ command }}">{{ description }}</option> + {% endfor %} + {% for command, description in global_commands %} + <option value="{{ command }}">{{ description }}</option> + {% endfor %} + </param> <param name="del_print" type="boolean" gui-text="Remove Print Settings from SVG metadata">false</param> <param name="extension" type="string" gui-hidden="true">remove_embroidery_settings</param> <effect> diff --git a/templates/zip.xml b/templates/zip.xml index 0018cb19..86be0e65 100644 --- a/templates/zip.xml +++ b/templates/zip.xml @@ -5,18 +5,35 @@ <output> <extension>.zip</extension> <mimetype>application/zip</mimetype> - <filetypename>Ink/Stitch: ZIP export multiple formats (.zip)</filetypename> + <filetypename>Ink/Stitch: ZIP export multiple formats and extra options (.zip)</filetypename> <filetypetooltip>Create a ZIP with multiple embroidery file formats using Ink/Stitch</filetypetooltip> <dataloss>true</dataloss> </output> - {%- for format, description, mimetype, category in formats %} - {%- if category != "vector" and category != "debug" %} - <param name="format-{{ format }}" type="boolean" _gui-text=".{{ format | upper }}: {{ description }}">false</param> - {%- endif %} - {%- endfor %} - <param name="format-threadlist" type="boolean" gui-text=".TXT: Threadlist [COLOR]">false</param> - <param name="format-svg" type="boolean" gui-text=".SVG: Scalable Vector Graphic">false</param> - <param name="extension" type="string" gui-hidden="true">zip</param> + <param name="notebook" type="notebook"> + <page name="file-formats" gui-text="File Formats"> + <label>Output formats:</label> + {%- for format, description, mimetype, category in formats %} + {%- if category != "vector" and category != "debug" %} + <param name="format-{{ format }}" type="boolean" _gui-text=".{{ format | upper }}: {{ description }}">false</param> + {%- endif %} + {%- endfor %} + <param name="format-threadlist" type="boolean" gui-text=".TXT: Threadlist [COLOR]">false</param> + <param name="format-svg" type="boolean" gui-text=".SVG: Scalable Vector Graphic">false</param> + <param name="extension" type="string" gui-hidden="true">zip</param> + </page> + <page name="panelization" gui-text="Panelization Options"> + <label>For single design set horizontal and vertical repeats to 1</label> + <spacer /> + <param name="x-repeats" type="int" min="1" max="20" gui-text="Horizontal repeats">1</param> + <param name="x-spacing" type="float" min="-1000" max="1000" gui-text="Horizontal spacing (mm)">100</param> + <param name="y-repeats" type="int" min="1" max="20" gui-text="Vertical repeats">1</param> + <param name="y-spacing" type="float" min="-1000" max="1000" gui-text="Vertical spacing (mm)">100</param> + </page> + <page name="output-options" gui-text="Output Options"> + <param name="custom-file-name" type="string" gui-text="Custom file name" + gui-description="Defines the file names inside the zip archive. Leave empty for default file name."></param> + </page> + </param> <script> {{ command_tag | safe }} </script> |
