add_cylinder
Create a cylinder by revolving a profile 360° about an axis, returning volume mass properties. Use after creating a new document to build a parametric SolidWorks part.
Instructions
Create a cylinder by revolving a profile 360° about an axis.
The first revolve-based primitive. Returns the resulting mass properties (volume = π · r² · h). Use new_document first.
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": {
"diameter_mm": "<diameter_mm>",
"height_mm": "<height_mm>"
},
"name": "add_cylinder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Revolve | |
| height_mm | Yes | ||
| diameter_mm | Yes |