sketch_extrude
Create 2D profiles on planes or planar faces and extrude them into solids as new bodies, additions, or cuts.
Instructions
Sketch 2D shapes on a plane or planar face and extrude them into a solid.
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": {
"name": "<name>",
"shapes": "<shapes>",
"distance": "<distance>"
},
"name": "sketch_extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| plane | No | ||
| shapes | Yes | Closed profiles in sketch coordinates (u, v). Use one outer profile per body; for holes or pockets run a second call with operation='cut'. | |
| targets | No | Body ids/names for add or cut. | |
| distance | Yes | ||
| direction | No | Along the plane normal, against it, or symmetric about the plane (distance is then the total). | + |
| operation | No | new: separate body. add: unite into targets[0] (with any other targets). cut: subtract from every target. | new |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||