linear_cutting_optimizer
Optimize 1D cutting plans for bars, pipes and profiles (linear cutting stock problem, best-fit decreasing heuristic). Returns bars used, per-bar cut lists with positions, total waste and unplaced parts. A web_url with the plan prefilled is included for a visual SVG diagram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kerf | No | Saw blade width consumed by each cut | |
| trim | No | Unusable trim at bar ends | |
| unit | Yes | Unit for all lengths | |
| parts | Yes | Parts to cut | |
| stock_count | No | How many stock bars are available | |
| stock_length | Yes | Length of one stock bar |