From ab8c87928b39e7874c09a75b2f9badd3a46719b2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Fri, 24 Jun 2022 17:11:52 +0200 Subject: 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 --- templates/apply_threadlist.xml | 36 +++++++++++++++++++++++++++--------- templates/output_params_gcode.xml | 39 +++++++++++++++++++++++++++++++++++++++ templates/output_params_txt.xml | 39 --------------------------------------- templates/zip.xml | 4 ++-- 4 files changed, 68 insertions(+), 50 deletions(-) create mode 100644 templates/output_params_gcode.xml delete mode 100644 templates/output_params_txt.xml (limited to 'templates') 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 @@ Apply Threadlist org.inkstitch.apply_threadlist apply_threadlist - - - - - - - {%- for item in threadcatalog %} - {{ item }} - {%- endfor %} + + + + + + + + + {%- for item in threadcatalog %} + {{ item }} + {%- endfor %} + + + + + + + + + + + + + + + all diff --git a/templates/output_params_gcode.xml b/templates/output_params_gcode.xml new file mode 100644 index 00000000..97e6cacf --- /dev/null +++ b/templates/output_params_gcode.xml @@ -0,0 +1,39 @@ + {# these parameters are for g-code files (*.txt) #} + + + false + false + + + + + 5.0 + + + + + + + + + + false + true + 0.0 + -1 + -1 + -1 + -1 + + diff --git a/templates/output_params_txt.xml b/templates/output_params_txt.xml deleted file mode 100644 index 97e6cacf..00000000 --- a/templates/output_params_txt.xml +++ /dev/null @@ -1,39 +0,0 @@ - {# these parameters are for g-code files (*.txt) #} - - - false - false - - - - - 5.0 - - - - - - - - - - false - true - 0.0 - -1 - -1 - -1 - -1 - - 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 @@ true {%- for format, description, mimetype, category in formats %} - {%- if category == "embroidery" %} + {%- if category != "vector" and category != "debug" %} false {%- endif %} {%- endfor %} + false false - false zip