Examples
Examples
Try the starting example
- JSON Grain-aligned panels [ID,width mm,height mm,integer quantity]
- [["A",40,30,3],["B",20,20,2]]
- Rectangular hide width (mm)
- 100
- Rectangular hide height (mm)
- 80
- JSON Mapped excluded defects [x mm,y mm,width mm,height mm]
- [[40,0,20,20]]
- Cut placements [hide number,ID,x,y,width,height]
- [[1,"A",0,0,40,30],[1,"A",60,0,40,30],[1,"A",0,30,40,30],[1,"B",40,20,20,20],[1,"B",60,30,20,20]]
- Required hides
- 1
- Yield on usable hide area
- 0.578947
- Unplaceable panels
- []
Try another scenario
- JSON Grain-aligned panels [ID,width mm,height mm,integer quantity]
- [["A",50,30,4],["B",20,20,2]]
- Rectangular hide width (mm)
- 100
- Rectangular hide height (mm)
- 80
- JSON Mapped excluded defects [x mm,y mm,width mm,height mm]
- [[40,0,20,20]]
- Cut placements [hide number,ID,x,y,width,height]
- [[1,"A",0,20,50,30],[1,"A",50,20,50,30],[1,"A",0,50,50,30],[1,"A",50,50,50,30],[1,"B",0,0,20,20],[1,"B",20,0,20,20]]
- Required hides
- 1
- Yield on usable hide area
- 0.894737
- Unplaceable panels
- []
Calculation method
Calculation method
Cut placements [hide number,ID,x,y,width,height]
Sort height then width descending; first feasible lower-left edge-grid point in existing hide, otherwise identical new hide with same defect map.
Required hides
Number of opened rectangular hides.
Yield on usable hide area
Placed panel area / (opened hides×(hide area−nonoverlapping defect area)).
Unplaceable panels
No fitting position exists among supported edge candidates on a fresh hide.
Symbols and units
- a
- JSON Grain-aligned panels [ID,width mm,height mm,integer quantity]
- b
- Rectangular hide width (mm)
- c
- Rectangular hide height (mm)
- d
- JSON Mapped excluded defects [x mm,y mm,width mm,height mm]
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Rectangular hide stock with explicit disjoint rectangular defects; panel axes already encode grain restrictions and no rotation allowed. Feasible greedy cuts with actual defect avoidance, not optimal irregular-hide nesting. Supported limits: At most 100 expanded panels and 100 defect rectangles; positive panel/hide dimensions; boundary touches allowed.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.