Skip to content

[Feature] Maintain true curved lines #66

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

Open
HuidoLtd opened this issue Mar 7, 2025 · 2 comments
Open

[Feature] Maintain true curved lines #66

HuidoLtd opened this issue Mar 7, 2025 · 2 comments

Comments

@HuidoLtd
Copy link

HuidoLtd commented Mar 7, 2025

As you may know, deepest doesn't currently preserve true curves when doing the nesting but it breaks them down into straight segments. That's a problem if making something accurate that should have round holes, curves etc. in the parts.

So the suggestion for this "problem" is that the software should keep the original shape in memory while making the nesting with simplified (enough) copies for the algorithm. Then when exporting the results, the app should use the original shapes instead to maintain the curves.

How's that sounding to you?

@Dexus
Copy link
Member

Dexus commented Mar 7, 2025

I think that should be our goal, but we need to know, that once you convert between DXF and SVG you already lost much informations - based on the converter. Sure if we can use commercial thirdparty tools, we would have here no problem. BUT: We have here a open source software with very old code base, that first needs to modernized. Any maybe we find other coders, that would help to process the transformation.

@willmurnane
Copy link
Collaborator

Oh man, I'm so happy to find this project revived. I found Deepnest back at version 1.0.5, used it for a year or so, got frustrated with its limitations, started a clean sheet rewrite, and got way bogged down into the details. I have a bunch of code related to this concept (and #40 by the looks of it), I should clean that up and try to push it up.

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

No branches or pull requests

3 participants