Revolve
revolveRevolves closed profiles of a sketch about an axis: the sketch's own u or v axis through its origin ('x' or 'y'), or a line of the sketch by entity id.
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>",
"axis": "<axis>"
},
"name": "revolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | 'x' / 'y' (the sketch's u / v axis) or a line's entity id. | |
| angle | No | Degrees, 360 for a full turn (default). | |
| 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. | |
| 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 |