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

Engrave mode closes paths #81

Open
prostolyubo opened this issue May 12, 2023 · 2 comments
Open

Engrave mode closes paths #81

prostolyubo opened this issue May 12, 2023 · 2 comments

Comments

@prostolyubo
Copy link

When I select a curve that is not a closed path, jscut will close a path by connecting its two ends with a straight line and engrave this line (it should not be there).
This should either be fixed or turned into a feature by adding a toggle: auto-close paths.

@tbfleming
Copy link
Owner

jscut's core algorithms are polygon manipulation algorithms; they can't handle open paths.

@prostolyubo
Copy link
Author

If you have enough time you can code anything. Right now I had small enough project that I could manually edit the generated GCode and get rid of the additional lines. If I'll ever have big enough project that it will be worth making this change then I'll fork and try. Maybe it will just come with certain limitations - like single path per svg object.

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

2 participants