GithubHelp home page GithubHelp logo

lawlietwang / libnest2d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tamasmeszaros/libnest2d

0.0 2.0 0.0 303 KB

2D irregular bin packaging and nesting library

License: GNU Affero General Public License v3.0

CMake 11.11% C++ 88.89%

libnest2d's Introduction

Introduction

Libnest2D is a library and framework for the 2D bin packaging problem. Inspired from the SVGNest Javascript library the project is is built from scratch in C++11. The library is written with a policy that it should be usable out of the box with a very simple interface but has to be customizable to the very core as well. This has led to a design where the algorithms are defined in a header only fashion with template only geometry types. These geometries can have custom or already existing implementation to avoid copying or having unnecessary dependencies.

A default backend is provided if a user just wants to use the library out of the box without implementing the interface of these geometry types. The default backend is built on top of boost geometry and the polyclipping library and implies the dependency on these packages as well as the compilation of the backend (although I may find a solution in the future to make the backend header only as well).

This software is currently under heavy construction and lacks a throughout documentation and some essential algorithms as well. At this point a fairly untested version of the DJD selection heuristic is working with a bottom-left placing strategy which may produce usable arrangements in most cases.

The no-fit polygon based placement strategy will be implemented in the very near future which should produce high quality results for convex and non convex polygons with holes as well.

References

libnest2d's People

Contributors

tamasmeszaros avatar

Watchers

James Cloos avatar Lawliet Wang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.