Extrude
extrudeExtrudes closed profiles of a sketch along its normal. Positive distance goes along the normal, negative the other way. Returns the feature id, the bodies after it and any error.
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_id": "<sketch_id>",
"distance": "<distance>"
},
"name": "extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taper | No | Taper angle in degrees (optional). | |
| bodies | No | Only these bodies take part in join, cut or intersect; every other body is left as it is. Leave out to act on every body the new solid meets. Use it whenever bodies of a design touch or nest - holes in a board that sits on standoffs, a slot in a lid but not in the base under it. | |
| distance | Yes | mm; negative for the opposite direction. | |
| profiles | No | Profile indices from add_geometry / get_sketch (closed regions of the sketch): [0, 2], one index, or "all". | |
| operation | No | new: a new body; join: add to the body it touches; cut: remove material; intersect: keep the overlap. | |
| sketch_id | Yes | ||
| symmetric | No | Extrude the distance in total, half to each side. |