Create Parametric Box
create_box_parametricBuild a history-based rectangular box by sketching a rectangle and extruding it, sizing length, width and height with numbers or User Parameter expressions.
Instructions
Create a history-based rectangular box via sketch rectangle + extrude (unlike create_box which uses TemporaryBRepManager). length/width/height accept a number (cm, Fusion internal unit) or a string expression referencing User Parameters (e.g. 'boxL', '56 mm', 'outer - 2 * wall_t'). Call create_parameter first to define named parameters. Unless a parameter says otherwise, lengths and coordinates are in cm (not mm) and angles in degrees.
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": {
"length": "<length>",
"width": "<width>",
"height": "<height>"
},
"name": "create_box_parametric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plane | No | xy | |
| width | Yes | Along sketch Y: number (cm) or expression | |
| height | Yes | Extrude distance: number (cm) or expression | |
| length | Yes | Along sketch X: number (cm) or expression | |
| origin_x | No | ||
| origin_y | No | ||
| origin_z | No | Z-offset of sketch plane (cm) | |
| body_name | No | Optional name for the resulting body | |
| component_name | No | Target component (omit for root) |