What does this formula mean?
Understand separation constraints and geometric candidate screening without inventing a physical waste formula. Use one normalized length unit for all rectangle coordinates and kerf; 3 mm is 0.003 m.
When should you use it?
Use to interpret a validated cutting plan and potential offcut map.
The formula
For each pair: right(A) + kerf ≤ left(B), or reverse, or bottom(A) + kerf ≤ top(B), or reverse; candidates must meet dimension thresholds
Read “×” as multiply, “÷” as divide, “Σ” as add the line values, and “ceil” as round upward to the next whole number. “roundHalfUp” rounds a tie upward at the stated precision.
Understanding the symbols
- A, B
- Two finished-piece rectangles being checkedUnit: rectangles
- left, right, top, bottom
- Axis coordinates of a finished rectangle within the slabUnit: one normalized length unit
- kerf
- Required axis separation between finished rectanglesUnit: mm
- free region
- Disjoint rectangle in usable area outside placed rectanglesUnit: mm dimensions
- thresholds
- Minimum potential-offcut length and widthUnit: mm
How to calculate manually
Use an ordinary calculator. Keep intermediate digits until the rounding step described below.
- Use one normalized length unit for all rectangle coordinates and kerf; 3 mm is 0.003 m.
- For each pair, check whether at least one axis has the required clearance. For an 800 mm-wide rectangle starting at x = 0, another may start at x = 803 with 3 mm clearance if containment and all other pair checks pass.
- Check candidate free-region length and width against the stated thresholds. Passing dimensions is only screening; do not infer blade loss, cut sequence or reuse suitability.
Worked example
Two 800 × 600 mm pieces, 3 mm kerf; potential-offcut thresholds 300 × 300 mm
- Piece A starts x=0; B can start x=803 mm with 3 mm horizontal clearance if both fit the usable slab.
- A geometric 400 × 350 mm free rectangle passes 300 × 300 mm screening; 400 × 250 mm does not.
- The engine partitions the complement of finished rectangles and validates containment, non-overlap and exact area reconciliation.
Answer: Pairwise clearance and candidate screening require geometric validation.
Validated nine-piece reference
Four 100 × 60 cm, three 80 × 50 cm and two 120 × 40 cm pieces on one 300 × 180 cm slab. The fixture has zero edge margins and zero kerf. A (100 × 60 cm × 4) and C (120 × 40 cm × 2) allow 90° rotation; B (80 × 50 cm × 3) is locked at 0°. The current heuristic places all nine, zero unplaced: 4.56 m² placed + 0.84 m² unoccupied = 5.40 m². These assumptions do not describe every fabrication job or prove global optimality.
Use the placement-coverage demonstration to run the actual bounded reference validation. Other kerf, margins, rotation, grain direction or defects require a new physical check. Unoccupied area is not automatically recoverable offcut area.
Common mistakes
- Multiplying kerf by piece count as a universal waste formula.
Precision and rounding
Integer micrometre geometry validates spacing; bounded partition enumeration can be incomplete and must not publish truncated candidates as complete.
Known limitations
Partition is not a unique physical leftover shape. Cut sequence, separability, defects, vein direction, blade paths and reuse suitability are unverified. Optimizer is heuristic; no fabrication instructions.