Create Revolve
create_revolveRevolve a closed sketch around a centerline or reference axis to add a solid turned shape, such as a shaft or knob, to the active part.
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 axis_entity: the id
add_centerline returned or a reference axis from create_axis. Left out,
the centreline drawn in the sketch is the axis. 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 | |||