/nest2D

The free and open source solution for nesting problem.

Primary LanguageJavaMIT LicenseMIT

NestApp

The online platform for Nest algorithm.

screen of working

How to use?

What is Nest Problem?

Given a square piece of material and some letters to be laser-cut:

We want to pack all the letters into the square, using as little material as possible. If a single square is not enough, we also want to minimize the number of squares used.

In the CNC world this is called "nesting", and software that does this is typically targeted at industrial customers and very expensive.

for more detail , please go to SVGNest

The repository based on few github project, I keep the original history of commits.

Also, i have some plane to modify the project. The project will be support DXF file. The SVG format available only for the preview. The project will be migrate to Kotlin fully or majority.

Fill free to create issues or pull requests. The main goal of the project is mainly free and open source solution for nesting problem. I try to find the way to compensate the price of cloud server. You Star of the project can help to apply to some open source program.

Big Thanks to JeroenGar

He is the author of jagua-rs. I use his project as the core service for the service. Without his project, I can't make this project.

I use slightly modified version of his project. Can be found here

Credits:

Referenced Paper

Hollow Polygon

For those hollow polygons, Nest4J provides a simple way to express by 2d coordinate system. If one polygon is inside in another by their coordinates, the Nest4J will detect it automatically.

DXF tags support

Tag Support status
Line Supported
Circle In plan
LwPolyline In plan
Polyline In plan
Arc In plan
Spline In plan
Other Not supported

Backend doc

Backend read me is here