diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-04-12 06:03:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 06:03:01 +0200 |
| commit | c2396081f0b8099da687ceef03b213a0c42dacd9 (patch) | |
| tree | 920707032804073af79bb6f47a9b54be8b106e85 | |
| parent | 93b9c0fa6d35c2b4f7ea43c3bfc2ef142e193b3b (diff) | |
update pyembroidery (#3644)
| -rwxr-xr-x | lib/inx/inputs.py | 2 | ||||
| -rw-r--r-- | lib/inx/outputs.py | 10 | ||||
| m--------- | pyembroidery | 0 | ||||
| -rw-r--r-- | templates/output_params_gcode.xml | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/lib/inx/inputs.py b/lib/inx/inputs.py index 624a8dcc..cd8b57bd 100755 --- a/lib/inx/inputs.py +++ b/lib/inx/inputs.py @@ -10,7 +10,7 @@ from .utils import build_environment, write_inx_file def pyembroidery_input_formats(): for format in pyembroidery.supported_formats(): - if 'reader' in format and format['category'] in ['embroidery', 'color', 'stitch', 'debug']: + if 'reader' in format and format['category'] in ['embroidery', 'color', 'stitch', 'quilting', 'debug']: yield format['extension'], format['description'] diff --git a/lib/inx/outputs.py b/lib/inx/outputs.py index af2766ea..0cf9ac84 100644 --- a/lib/inx/outputs.py +++ b/lib/inx/outputs.py @@ -13,13 +13,15 @@ def pyembroidery_output_formats(): if 'writer' in format: description = format['description'] if format['category'] == "color": - description = "%s [COLOR]" % description + description = f"{description} [COLOR]" elif format['category'] == "image": - description = "%s [IMAGE]" % description + description = f"{description} [IMAGE]" elif format['category'] == "stitch": - description = "%s [STITCH]" % description + description = f"{description} [STITCH]" + elif format['category'] == "quilting": + description = f"{description} [QUILTING]" elif format['category'] != "embroidery": - description = "%s [DEBUG]" % description + description = f"{description} [DEBUG]" if not format['extension'] == 'png': yield format['extension'], description, format['mimetype'], format['category'] diff --git a/pyembroidery b/pyembroidery -Subproject afe103b49a1750c5aabe612dbdc6793ef21951b +Subproject 13e94dbfc4a3b7de93ce2e771bf8ccf22e3551c diff --git a/templates/output_params_gcode.xml b/templates/output_params_gcode.xml index 1326527b..144e4f39 100644 --- a/templates/output_params_gcode.xml +++ b/templates/output_params_gcode.xml @@ -15,6 +15,8 @@ gui-description="Use '%X' for x-coordinate. Use '%Y' for y-coordinate and '%Z' for z-coordinate."></param> <param name="custom_color_change" type="string" appearance="multiline" gui-text="COLOR CHANGE" gui-description="Leave empty to use default value. Use 'none' to remove. Use %R %G %B for thread color values"></param> + <param name="custom_jump" type="string" appearance="multiline" gui-text="JUMP" + gui-description="Leave empty to ignore jumps. Use '%X' for x-coordinate and '%Y' for y-coordinate."></param> <param name="custom_stop" type="string" appearance="multiline" gui-text="STOP" gui-description="Leave empty to use default value. Use 'none' to remove."></param> <param name="custom_start" type="string" appearance="multiline" gui-text="START" |
