extrude
Creates solid geometry from closed sketch loops by pulling them along the sketch normal or a specified direction, with optional boolean operations.
Instructions
Extrude all curves of a sketch along the sketch normal (or direction). The curves must form closed loops to get a solid. Units: millimetres (mm) and 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": {
"sketch": "<sketch>",
"distance": "<distance>"
},
"name": "extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Start distance (mm). | |
| sketch | Yes | Sketch name. | |
| target | No | Target body for the boolean (body name or feature name). Required when boolean is not 'none' and the part has more than one body. | |
| boolean | No | Boolean with an existing body: none = create a new body. | none |
| distance | Yes | End distance (mm) measured from the sketch plane. Negative extrudes the other way. | |
| direction | No | Extrude direction; default is the sketch normal. [x, y, z] |