- Lumber packing supports first-fit (FFD) and best-fit (BFD, tightest fit) via a `fit` mode; strategy "bestfit" selects it. - Plywood panels now rotate to fit (when allowed and grain isn't honored); placements record `rotated`. Rotation-disabled oversize panels are flagged. - best_cut_plan() tries decreasing/bestfit/increasing + shuffle restarts and keeps the best by (stock_count, waste_area, -reusable_offcuts); marks it "optimized". STRATEGIES drives "Try alternative". - BOM Cut Layout tab: "Find better layout" (optimize) + "Try alternative" (cycle strategies) buttons; the score line explains the result. 107 tests pass (rotation fits/!fits, optimizer no-worse-than-baseline). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_cutlist.py | ||
| test_cutplan.py | ||
| test_driver.py | ||
| test_geometry.py | ||
| test_gui_controller.py | ||
| test_layout.py | ||
| test_scene.py | ||