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

Command: Celtic Knots #147

Open
robin-swift opened this issue Nov 4, 2021 · 3 comments
Open

Command: Celtic Knots #147

robin-swift opened this issue Nov 4, 2021 · 3 comments

Comments

@robin-swift
Copy link
Member

Copied from old to do list.

@robin-swift robin-swift transferred this issue from Embroidermodder/Embroidermodder Nov 4, 2021
@robin-swift robin-swift added this to the Version 1.0 milestone Nov 4, 2021
@tatarize
Copy link

tatarize commented Nov 4, 2021

This idea properly belongs in Embroidermodder rather than libembroidery.

I did a series of investigations of this item in the todo list when I saw it, back when I was picking things out from this library for ideas.

While it's entirely actionable to make Celtic Knots in embroidery the sort of required code here is a grid where you turn segments on and off and the algorithm flows in a knot. But, to embroider that you'd actually need to lay down a series of satin stitches.

positive_secondary

The results get you something like this, but you can't really do this as a single thread. Because what really matters there is the gaps, and you get these actually very fat sections with curves and flows and that's quite clearly going to be a satin stitch. While this idea is great it's much higher level than libembroidery.

http://www.mathrecreation.com/2018/11/algorithms-for-drawing-celtic-knots.html

@fabricocouto
Copy link
Contributor

I particularly find it very difficult to implement the dll in C# since it is among the 6 best languages today, however I can use a 2020 version of the dll, but even so I still use the codes written in C# which only lacks the file .hus and the .emb file

@robin-swift
Copy link
Member Author

@tatarize Thanks for linking that lovely article and js code by Dan MacKinnon, that will definitely be what I base the development on and I'll cite him in the documentation.

@fabricocouto We're talking about that in #69 and other threads, I can start a C# bindings issue but that's off-topic here.

@robin-swift robin-swift removed this from the Version 1.0 milestone Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants