【实例简介】
该开源代码实现的是2d板材套料,使用遗传算法,不断优化得到的解,最后得出一个利用率最高的结果。因为是开源,可以看到其算法的实现,给想做排版的提供了很好的参考。
【实例截图】
【核心代码】
SVGnest
└── SVGnest
├── favicon16.gif
├── favicon32.gif
├── font
│ ├── fonts
│ │ ├── LatoLatin-Bold.eot
│ │ ├── LatoLatin-BoldItalic.eot
│ │ ├── LatoLatin-BoldItalic.ttf
│ │ ├── LatoLatin-BoldItalic.woff
│ │ ├── LatoLatin-BoldItalic.woff2
│ │ ├── LatoLatin-Bold.ttf
│ │ ├── LatoLatin-Bold.woff
│ │ ├── LatoLatin-Bold.woff2
│ │ ├── LatoLatin-Light.eot
│ │ ├── LatoLatin-Light.ttf
│ │ ├── LatoLatin-Light.woff
│ │ ├── LatoLatin-Light.woff2
│ │ ├── LatoLatin-Regular.eot
│ │ ├── LatoLatin-Regular.ttf
│ │ ├── LatoLatin-Regular.woff
│ │ └── L