cad_generate_knob
Generate a replacement rotary knob with D-shaft socket, perimeter fluting, and pointer indicator notch. Set diameter, height, shaft type, and flute count to produce a 3D-printable parametric model.
Instructions
Generates a replacement rotary knob with D-shaft socket, perimeter fluting, and pointer indicator notch.
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": "cad_generate_knob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | Knob total height in mm. | |
| diameter | Yes | Knob outer diameter in mm. | |
| filename | No | ||
| outputDir | No | ||
| shaftType | No | Shaft profile (default: 'D_shaft'). | |
| dFlatDepth | No | Flat depth for D-shaft (default: 1.5 mm). | |
| knurlCount | No | Number of grip flutes around perimeter (default: 18). | |
| shaftDiameter | No | Potentiometer shaft diameter in mm (default: 6.0 mm). | |
| indicatorNotch | No | Whether to include indicator pointer notch. |