kopia lustrzana https://github.com/inkstitch/inkstitch
rodzic
93b9c0fa6d
commit
c2396081f0
|
|
@ -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']
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit afe103b49a1750c5aabe612dbdc6793ef21951b0
|
||||
Subproject commit 13e94dbfc4a3b7de93ce2e771bf8ccf22e3551cb
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue