Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoroute Satin: LineStrings must have at least 2 coordinate tuples #2387

Closed
maggiepiwow opened this issue Jun 23, 2023 · 2 comments · Fixed by #2389
Closed

Autoroute Satin: LineStrings must have at least 2 coordinate tuples #2387

maggiepiwow opened this issue Jun 23, 2023 · 2 comments · Fixed by #2389

Comments

@maggiepiwow
Copy link

Ink/Stitch experienced an unexpected error. This means it is a bug in Ink/Stitch.

If you'd like to help please

Include the error description and also (if possible) the svg file.

Ink/Stitch Version: v3.0.0 (windows)

Traceback (most recent call last):
File "shapely\speedups_speedups.pyx", line 90, in shapely.speedups._speedups.geos_linestring_from_py
AttributeError: 'list' object has no attribute 'array_interface'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "inkstitch.py", line 84, in
File "inkex\base.py", line 250, in run
File "lib\extensions\auto_satin.py", line 69, in effect
File "lib\stitches\auto_satin.py", line 342, in auto_satin
File "lib\stitches\auto_satin.py", line 385, in build_graph
File "lib\stitches\auto_satin.py", line 97, in break_up
File "lib\stitches\auto_satin.py", line 117, in center_line
File "lib\elements\satin_column.py", line 833, in center_line
File "shapely\geometry\linestring.py", line 47, in init
File "shapely\speedups_speedups.pyx", line 156, in shapely.speedups._speedups.geos_linestring_from_py
ValueError: LineStrings must have at least 2 coordinate tuples

medusa 6 embroider thin inkscape

@kaalleen
Copy link
Collaborator

Thank you for bringing this to our attention. We need to fix this.

... But just a little hint for your design ... If you'll try to stitch this out, it won't work very well. Satins that small will be a pain for the embroidery machine and the fabric. Consider to use running stitch instead.

@kaalleen kaalleen changed the title Bug :( Autoroute Satin: LineStrings must have at least 2 coordinate tuples Jun 24, 2023
@maggiepiwow
Copy link
Author

Thank you! And yes, I realized that when test running it on some scrap fabric :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants