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

Overlapping parts on the output result. #18

Open
misan opened this issue Jul 20, 2023 · 4 comments
Open

Overlapping parts on the output result. #18

misan opened this issue Jul 20, 2023 · 4 comments

Comments

@misan
Copy link

misan commented Jul 20, 2023

Hi,

I am testing nest2D (ubuntu 20.04, Python 3.10.6). The sample example works as expected, but I have tested with other, more complex shapes, and I am getting parts overlapping on the output. Do you know how to fix that?

I am including the result I got.
out

@misan
Copy link
Author

misan commented Jul 20, 2023

Trying the same parts (file below) with SVGnest it does work ok.
sample

Here you have SVGnest output ...

SVGnest-output

@PhilippBau
Copy link

Hi, I came across the same problem. Be aware of the limitations of the https://github.com/tamasmeszaros/libnest2d lib that is being used:

"At this stage it works well for rectangles and convex closed polygons without considering holes and concavities."

This could possibly help you https://github.com/tamasmeszaros/libnest2d/issues/49

@misan
Copy link
Author

misan commented Feb 20, 2024

Thanks a lot, @PhilippBau; I will try the solution you linked. However, some of my parts have concave sections and that could well be the cause of it.

Cheers!

@PhilippBau
Copy link

PhilippBau commented Feb 20, 2024

@misan If this doesn't work with concave polygons I can recommend this repo:

https://github.com/DanielLiamAnderson/Packaide

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