Create Revolve
create_revolveRevolves a closed sketch or profile around a reference axis or centerline to add a solid revolve feature to the active part, enabling shafts, knobs, and other turned shapes.
Instructions
Revolve a closed sketch around an axis, adding a solid to the active part.
Use it for turned shapes (shafts, knobs). It revolves the sketch sketch_name
names, or the one exit_sketch closed last, about the reference axis
axis_entity names (from create_axis), or about the centreline drawn in the
sketch with add_centerline. A sketch or axis that isn't in the model fails
before anything is built. Needs: an open part and a closed profile with a
centreline or a reference axis. Changes: adds a Revolve feature. Returns:
revolve (name, sketch and axis_entity when named, angle) and
measured_change (volume, bounding box and solid-body count before and
after; left out when the model can't be read).
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": {
"input_data": "<input_data>"
},
"name": "create_revolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The revolve. `angle` (degrees, 360 for a full turn) is required; `sketch_name`, `axis_entity`, `both_directions`, `reverse_direction`, `thin_feature` and `merge_result` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||