diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2022-06-24 17:11:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-24 17:11:52 +0200 |
| commit | ab8c87928b39e7874c09a75b2f9badd3a46719b2 (patch) | |
| tree | 11a934b028f8a5dab34e4710d43ab895e0510fbb /templates | |
| parent | 3985b5ac719cb699b1539bce0bc7376970702b4d (diff) | |
Update pyembroidery (#1683)
Embroidery formats (read)
.hus: Husqvarna Embroidery Format
.zhs: Zeng Hsing Embroidery Format
Color formats (read & write)
.col : Color format.
.edr : Color format.
.inf : Color format.
Stitch formats (read & write)
.pmv : Brother Stitch Format.
Image (write)
.png : Portable Network Graphic (line art)
G-Code
The export file format is not .txt anymore but .gcode
Bug fixes
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/apply_threadlist.xml | 36 | ||||
| -rw-r--r-- | templates/output_params_gcode.xml (renamed from templates/output_params_txt.xml) | 0 | ||||
| -rw-r--r-- | templates/zip.xml | 4 |
3 files changed, 29 insertions, 11 deletions
diff --git a/templates/apply_threadlist.xml b/templates/apply_threadlist.xml index 58776cb5..303cb793 100644 --- a/templates/apply_threadlist.xml +++ b/templates/apply_threadlist.xml @@ -3,15 +3,33 @@ <name>Apply Threadlist</name> <id>org.inkstitch.apply_threadlist</id> <param name="extension" type="string" gui-hidden="true">apply_threadlist</param> - <param name="filepath" type="path" gui-text="Choose file" mode="file" filetypes="txt"/> - <param name="method" type="optiongroup" gui-text="Choose method"> - <option value="1">Apply Ink/Stitch threadlist</option> - <option value="2">Apply other threadlist*</option> - </param> - <param name="palette" type="enum" gui-text="*Choose color palette"> - {%- for item in threadcatalog %} - <item value="{{ item }}">{{ item }}</item> - {%- endfor %} + <param name="options" type="notebook"> + <page name="options" gui-text="Options"> + <param name="filepath" type="path" gui-text="Choose file" mode="file" filetypes="txt,edr,col,inf"/> + <param name="method" type="optiongroup" gui-text="Choose method"> + <option value="1">Apply Ink/Stitch threadlist</option> + <option value="2">Apply other threadlist*</option> + </param> + <param name="palette" type="enum" gui-text="*Choose color palette"> + {%- for item in threadcatalog %} + <item value="{{ item }}">{{ item }}</item> + {%- endfor %} + </param> + </page> + <page name="info" gui-text="Help"> + <label appearance="header">This extension applies colors from a color file to the objects in this document.</label> + <label>COL, INF, EDR</label> + <label indent="2">Select the file and apply. The chosen method is not important for these file types.</label> + <spacer /> + <label>TXT</label> + <label indent="2">Import an Ink/Stitch threadlist file (created through the zip export option).</label> + <spacer /> + <label indent="2">Import any other Threadlist file in txt format. Ink/Stitch will try to match the colors to the selected thread palette. + The objects in this document will be colored accordingly if color matching has been successful.</label> + <spacer /> + <label>Get more information on our website</label> + <label appearance="url">https://inkstitch.org/docs/thread-color/#apply-threadlist</label> + </page> </param> <effect> <object-type>all</object-type> diff --git a/templates/output_params_txt.xml b/templates/output_params_gcode.xml index 97e6cacf..97e6cacf 100644 --- a/templates/output_params_txt.xml +++ b/templates/output_params_gcode.xml diff --git a/templates/zip.xml b/templates/zip.xml index 55366afd..0018cb19 100644 --- a/templates/zip.xml +++ b/templates/zip.xml @@ -10,12 +10,12 @@ <dataloss>true</dataloss> </output> {%- for format, description, mimetype, category in formats %} - {%- if category == "embroidery" %} + {%- 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="format-threadlist" type="boolean" gui-text=".TXT: Threadlist">false</param> <param name="extension" type="string" gui-hidden="true">zip</param> <script> {{ command_tag | safe }} |
