About CutPlan — Formulas & Engineering Methodology
CutPlan builds fast, transparent, zero-bloat construction layout and cut-list tools verified against published framing geometry and building codes.
1. 2D Sheet Cut-List Optimization (Guillotine Bin Packing)
Workshop panel saws, table saws, and track saws make straight edge-to-edge guillotine cuts. Our optimizer evaluates multiple sorting orders (max side, area, perimeter) across Best-Short-Side-Fit (BSSF) and Best-Area-Fit (BAF) guillotine splitting heuristics, subtracting exact blade kerf on every interior split and respecting optional face-veneer grain lock. Among equal sheet counts, it selects the layout preserving the largest single reusable offcut.
2. Rafter, Stair & Baluster Standards Cited
| Domain | Formula / Standard | Reference |
|---|---|---|
| Common Rafter Length | √((Span/2 − Ridge/2)² + Rise²) | Standard right-triangle framing & IRC R802 |
| Birdsmouth HAP | (Depth ÷ cos θ) − (Seat × tan θ) | Max 1/3 depth heel cut rule |
| Residential Stairs | Max 7.75" riser, Min 10" tread, Min 3.5" throat | IRC R311.7.5 / UK Building Regs Part K |
| Baluster Spacing | N = ceil((L − G_max) ÷ (W + G_max)) | IRC R312.1.3 (4" sphere) / UK Part K (100 mm) |
| 1D Linear Stock | First-Fit & Best-Fit Decreasing with kerf & trim | Exact saw kerf between adjacent cuts |
Safety Notice: Always verify structural lumber spans, snow/wind loads, guard heights, and stair code requirements with your local building inspector or licensed structural engineer before cutting or building.