Crate cut_optimizer_2d[−][src]
cut-optimizer-2d is an optimizer library that attempts layout rectangular cut pieces from stock pieces in a way that gives the least waste. It uses genetic algorithms and multiple heuristics to solve the problem.
Structs
CutPiece | A rectangular piece that needs to be cut from a stock piece. |
Optimizer | Optimizer for optimizing rectangular cut pieces from rectangular stock pieces. |
Rect | A rectangle |
ResultCutPiece | A cut piece that has been placed in a solution by the optimizer. |
ResultStockPiece | Stock piece that was used by the optimizer to get one or more cut pieces. |
Solution | A valid solution to an optimization. |
StockPiece | A rectangular stock piece that is available to cut one or more cut pieces from. |
Enums
Error | Error while optimizing. |
PatternDirection | Indicates the linear direction of a pattern, grain, etc. |