Create CAM Setup
cam_create_setupCreates a manufacturing setup for a body, defining stock, coordinate system, and operation type: milling, turning, or cutting.
Instructions
Create a manufacturing setup for a body. Defines the stock, coordinate system, and operation type (milling/turning/cutting).
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": {
"body_name": "<body_name>"
},
"name": "cam_create_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Setup name | |
| body_name | Yes | Body to machine | |
| stock_mode | No | How the setup's stock is defined, measured against Fusion 2706.1.17: relative_box, fixed_box, relative_cylinder, fixed_cylinder, from_solid. The names this schema used to advertise included from_body, which Fusion refuses as an invalid enumeration value and never worked - from_solid is the working name for it. | relative_box |
| operation_type | No | milling | |
| stock_offset_top | No | Top offset (cm) | |
| stock_offset_sides | No | Side offset (cm) | |
| stock_offset_bottom | No | Bottom offset (cm) |