How it works
This bounded heuristic reserves one kerf per piece. Matching the volume lower bound proves optimal bar count for that instance; otherwise it is an estimate.
Try an example
Stock length (mm): 6000; Kerf per piece (mm): 3; Piece lengths (mm): 2500, 2500, 1800, 1200, 1200. The form starts with these values; change them to explore your own case.
Example result: 2 stock bars
- Sort pieces longest first.
- Place each piece in the first bar with available capacity (first-fit decreasing).
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.