create_cylinder
Creates a cylinder from a base-center origin, axis direction, diameter, and height in millimetres; optionally unite, subtract, or intersect it with an existing body.
Instructions
Create a cylinder. origin is the centre of the base circle; the cylinder grows along direction. Units: millimetres (mm) and degrees.
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": "<diameter>",
"height": "<height>"
},
"name": "create_cylinder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | Height (mm). | |
| origin | No | Centre of the base. [x, y, z] | |
| target | No | Target body for the boolean (body name or feature name). Required when boolean is not 'none' and the part has more than one body. | |
| boolean | No | Boolean with an existing body: none = create a new body. | none |
| diameter | Yes | Diameter (mm). | |
| direction | No | Axis direction. [x, y, z] |