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 /lib/extensions/zip.py | |
| 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 'lib/extensions/zip.py')
| -rw-r--r-- | lib/extensions/zip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/zip.py b/lib/extensions/zip.py index 280c2a14..e80bc34c 100644 --- a/lib/extensions/zip.py +++ b/lib/extensions/zip.py @@ -9,10 +9,10 @@ import tempfile from copy import deepcopy from zipfile import ZipFile -from inkex import Boolean from lxml import etree import pyembroidery +from inkex import Boolean from ..i18n import _ from ..output import write_embroidery_file @@ -28,7 +28,7 @@ class Zip(InkstitchExtension): # it's kind of obnoxious that I have to do this... self.formats = [] for format in pyembroidery.supported_formats(): - if 'writer' in format and format['category'] == 'embroidery': + if 'writer' in format and format['category'] in ['embroidery', 'color', 'image', 'stitch']: extension = format['extension'] self.arg_parser.add_argument('--format-%s' % extension, type=Boolean, dest=extension) self.formats.append(extension) |
