Yisaer / Nest4J

an open source nest algorithm by java based on SVGNest
MIT License
75 stars 35 forks source link

ways to calculate Multi bin? #14

Open jingchengchen-com opened 4 years ago

jingchengchen-com commented 4 years ago

Hi @Yisaer, thanks a lot for this amazing tool.

I personally do not have much knowledge about nesting algorithms. But I wonder if it is possible to extend the nesting to support multiple formats of bin?

For instance we now have Nest nest = new Nest(bin, polygons, config, 2);

How can we achieve Nest nest = new Nest(bins, polygons, config, 2); where bins is a list of bin or course.

Would be grateful if you give some insights. Thanks!