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.
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. |