Calculate a sheet cutting layout
calculate_nestingLay out rectangular parts on rectangular sheets and return how many sheets are needed, the scrap percentage, the largest reusable offcut, each part's position on each sheet, and a link that opens the job in MOACUT. Sizes in millimetres. Free limit: 10 part types and 30 pieces in total. Sheet counts are correct only for the whole job in one call.
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": {
"sheetWidth": "<sheetWidth>",
"sheetHeight": "<sheetHeight>",
"parts": "<parts>"
},
"name": "calculate_nesting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kerf | No | Cut width between parts in mm (default 3) | |
| parts | Yes | Part types to cut | |
| language | No | Language of the MOACUT page the link opens (default en) | |
| edgeMargin | No | Clear margin around each sheet in mm (default 10) | |
| sheetWidth | Yes | Sheet width in mm, e.g. 2440 | |
| sheetHeight | Yes | Sheet height in mm, e.g. 1220 | |
| allowRotation | No | Allow parts to turn 90 degrees. Set false when the grain direction matters (default true) |