inkstitch / inkstitch

Ink/Stitch: an Inkscape extension for machine embroidery design
https://inkstitch.org
GNU General Public License v3.0
962 stars 171 forks source link

Satin Column: flattened_sections: IndexError (on older Ink/Stitch version) #3182

Open gjulien105 opened 1 month ago

gjulien105 commented 1 month ago

I was attempting to change the color of the font when the F developed the extra line that could not be removed. I did a troubleshoot and the code below was what I got. Please Help! Traceback (most recent call last): File "inkstitch.py", line 84, in File "inkex\base.py", line 250, in run File "lib\extensions\troubleshoot.py", line 33, in effect File "lib\elements\satin_column.py", line 652, in validation_errors File "lib\elements\satin_column.py", line 1257, in to_stitch_groups File "lib\elements\satin_column.py", line 1052, in do_zigzag_underlay File "lib\debug.py", line 231, in decorated File "lib\elements\satin_column.py", line 898, in plot_points_on_rails File "lib\elements\satin_column.py", line 629, in flattened_sections File "lib\elements\satin_column.py", line 629, in IndexError: tuple index out of range

Fly Hawks Fly

tyrosinase commented 1 month ago

You've added a fill color to the satin instead of changing the stroke color. The current version of Ink/Stitch won't get this error (but it will try to do what it thinks you mean, and add a fill stitch).

You've also done something that caused Inkscape to close all the objects, which means all three of the first letters are corrupted. I'd just delete them and re-create them.

kaalleen commented 2 weeks ago

Beside of what tyrosinase said ... Can you update to the newest Ink/Stitch version and see if you can still produce the error message?