Revolve
revolveRotates a sketch profile around an axis to create, join, cut, or intersect bodies. For cut/intersect, set target_body_name to limit the operation to one body.
Instructions
Revolve a sketch profile around an axis. For operation cut/intersect, pass target_body_name whenever the document has more than one body — confirmed live that leaving it unset cuts EVERY body within the revolve's sweep, not just an intended target (it sliced two unrelated bodies elsewhere in the document purely because they sat within the sweep radius). Unless a parameter says otherwise, lengths and coordinates are in cm (not mm) and angles in degrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | Revolve angle in degrees | |
| operation | No | new_body | |
| axis_origin_x | No | ||
| axis_origin_y | No | ||
| axis_origin_z | No | ||
| profile_index | No | ||
| axis_direction_x | No | ||
| axis_direction_y | No | ||
| axis_direction_z | No | ||
| target_body_name | No | For operation cut/intersect: restrict the cut to this body only. Without it, EVERY body within the revolve's sweep radius around the axis gets cut, including unrelated ones — confirmed live, not a theoretical risk. |