Nest sheets for a panel saw
nest_sheetsLays out one material's parts on full sheets for a panel saw and reports the strip-cut, guillotine-safe cutting plan, sheet count, and yield.
Instructions
Lay out one material's parts on full sheets for a panel saw and report the cutting plan.
Use when someone needs the actual sheet layouts (which part goes where). For just the number of sheets across every material, count_sheets is faster. The layout is strip-cut and guillotine-safe: each sheet is ripped into strips across its width, then parts are crosscut from each strip. Parts keep their listed grain direction (length runs along the sheet). 1/4" is trimmed off each sheet edge. Not for CNC routers.
Parameters: material is a material code from the job (defaults to case_material); sheet_length and sheet_width in inches (default 96 x 48); kerf is the saw blade width in inches (default 0.125).
Returns: {job_number, material, sheet_size, sheets_needed, parts_nested, overall_yield_pct, oversize_parts: [parts too big for the sheet], sheets: [{sheet, yield_pct, strips: [{rip_width, y, parts: [{cabinet, name, length, width, x}]}]}]}. x and y are inches from the sheet's corner.
Example: {"job": {...}, "material": "MEL-WHT-34", "sheet_length": 97, "sheet_width": 49}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job": "<job>"
},
"name": "nest_sheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | The cabinet job: job_number, material codes and the cabinets list (inches). | |
| kerf | No | Saw blade kerf in inches. Default 0.125 (1/8"). | |
| material | No | Material code to nest, e.g. "MEL-WHT-34". Empty = the job's case_material. | |
| sheet_width | No | Sheet width in inches, e.g. 48, 49, 60. | |
| sheet_length | No | Sheet length in inches, e.g. 96, 97, 120. |