aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-07-22 06:50:48 +0200
committerGitHub <noreply@github.com>2023-07-22 06:50:48 +0200
commit91a0aea6a1ca4021b7915989634fdccb0dedb1bf (patch)
tree45ed5dc7584f251bc7d6afbaeb1afd0bc66b1ea3 /templates
parentf140f2f0f950c40b37393b47c57f0725e4a2a8ce (diff)
parent160284d21dcadddfb5e4b22dc2f71073d012b96c (diff)
Merge pull request #2349 from inkstitch/george-steel/export-panel
* Add panelization options to zip export * Add input field for custom file names (inside the zip archive)
Diffstat (limited to 'templates')
-rw-r--r--templates/zip.xml35
1 files changed, 26 insertions, 9 deletions
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>