inkstitch icon indicating copy to clipboard operation
inkstitch copied to clipboard

Can't convert zig-zag to satin; "Ink/Stitch experienced an unexpected error"

Open Vicious-Redhead opened this issue 11 months ago • 1 comments

I have no idea if I'm doing this correctly so I'm sorry if it's incorrectly formatted (I couldn't find anything to tell how to format an issue)

Was trying to make an embroidery design and when I tried to convert the zig-zag to satin it gave me this message:

Traceback (most recent call last): File "inkstitch.py", line 84, in File "inkex\base.py", line 250, in run File "lib\extensions\zigzag_line_to_satin.py", line 41, in effect File "lib\extensions\zigzag_line_to_satin.py", line 167, in _smooth_path File "inkex\transforms.py", line 1178, in point_at_length ZeroDivisionError: float division by zero

This is the file: WIP

I even tried making a zig-zag on a document after completely closing the program and it gave the same error.

Vicious-Redhead avatar Mar 08 '24 21:03 Vicious-Redhead

Thank you for the error report and for sending the file along. We need people to go this extra step and post their error messages here. Only then we are able to improve the program. This particular bug though seems already to be fixed for the next official release.

To fix it for you with the current version .... I think since you already have the shape outline, you can simply turn it into a satin column. So maybe you can just skip the zigzag to path and convert your outline to a satin directly.

break_path

Set it to satin column in the params afterwards.

kaalleen avatar Mar 09 '24 10:03 kaalleen