add_cylinder
Creates a cylinder in a SolidWorks part from a diameter and height, revolving a profile 360° about an axis and returning measured mass properties for verification.
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_part 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 |