sw_revolve
Revolve a 2D profile around its centerline to generate axisymmetric SolidWorks parts. This feature allows you to create shafts, discs, and grooves from a closed sketch.
Instructions
Revolve a profile around its centerline (shafts, discs, bottles, grooves).
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": "<sketch>"
},
"name": "sw_revolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cut | No | Remove material instead of adding it. | |
| doc | No | Document title or path. Defaults to the active document. | |
| name | No | Optional name for the new feature. | |
| angle | No | ||
| sketch | Yes | Sketch with one centerline (the axis) and a closed profile. | |
| reverse | No |