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

Numpy acceleration of stitches without requirement. #110

Open
tatarize opened this issue Dec 7, 2020 · 0 comments
Open

Numpy acceleration of stitches without requirement. #110

tatarize opened this issue Dec 7, 2020 · 0 comments

Comments

@tatarize
Copy link
Contributor

tatarize commented Dec 7, 2020

There are a few places where numpy arrays should be usable but because of early code it currently is not permitted to simply pass a 2d Nx2 array to become a block. Rather than checking if a passed item is a tuple or a list it should simply duck cast for whether it's an iterable with 2-3 items wide. This would also allow the addition of generators and other classes not previously covered.

Fixing this should also go back to EmbroiderPy/vpype-embroidery and update the relevant reading and writing code elements.

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

No branches or pull requests

1 participant