3D print a replacement knob that fits your shaft
To 3D print a replacement knob that fits, measure the shaft diameter, flat width and length, then choose a clearance for your printer. AdderCAD Studio turns those dimensions into an editable solid model with sliders for the fit-critical values.
Last updated 16 November 2026.
Measure before you 3D print a replacement knob
Measure the shaft diameter, flat width and usable shaft length before designing the knob's outer shape. QIDI's guide identifies D-shafts as common on stoves, ovens and potentiometers and lists these three measurements. Use calipers on the shaft, not a label on the appliance.
The flat changes the shaft's profile, so a round hole with the same outside diameter is not enough. Record how far the shaft enters the old knob. If it is broken, use the exposed shaft length and check that the replacement will not bottom out too soon.
Studio accepts image attachments when image input is supported. A photo can show the knob's shape, but it is reference material, not a measurement. You still need the shaft dimensions.
Choose the hole allowance for the fit you want
The allowance depends on whether the knob pushes on, turns freely or uses a set screw. State the basis, per side or total diameter, because the same number describes different fits.
| Fit | Published allowance | Source and basis |
|---|---|---|
| Push-on | 0.1 to 0.2 mm per side | A Cults3D listing for a universal stove knob uses a 6.2 mm hole for a 6 mm D-shaft, or 0.1 mm per side. BuildCAD lists 0.15 mm per side for snug and 0.2 mm per side for sliding with a 0.4 mm nozzle. |
| Set screw | Hole 0.3 to 0.4 mm larger | QIDI does not say whether this is per side or total. Read as total, it is 0.15 to 0.2 mm per side, about the same as a push-on fit. The set screw, not the hole, does the holding. |
| Turning or print-in-place | 0.3 mm per side | BuildCAD's tolerance guide, for a 0.4 mm nozzle. |
Choose one fit and state whether its allowance is per side or total in your prompt. Print a small test with two or three hole sizes in the planned material and orientation. Printer tolerance means the solid model's dimensions will not be reproduced exactly in plastic.
Describe the knob and keep the fit editable
Give the shaft profile, engagement depth, outer shape and fastening method in the prompt. The clearance will be a slider, so you can change it after a test print.
Example prompt: "Replacement knob for a 6 mm D-shaft with 10 mm engagement depth and a push-on fit. Use a 6.2 mm shaft hole as a starting point and make the shaft-hole diameter adjustable."
Studio's agent writes CAD code to build a B-rep solid. Every numeric parameter becomes a slider, so you can change the shaft profile, pocket depth, clearance and outer diameter without another AI request. You can also inspect and edit the code.
You can correct one dimension instead of describing the whole knob again. AdderCAD is pre-launch, and complex parts can fail or need several attempts.
Add a set screw without weakening the knob
A set screw secures the knob mechanically instead of relying only on friction. QIDI's guide uses a perpendicular M3 grub-screw hole. A captive nut is another option.
AdderCAD's fastener rules use 3.4 mm for an M3 clearance hole and about 0.85 x diameter, about 2.55 mm for M3, for a self-tapping hole. Its hex nut trap rule adds 0.3 mm to the across-flats dimension. Do not reuse the shaft's clearance allowance for these features.
Keep the screw hole and nut pocket editable. Check the plastic around both features and the fit of the actual hardware.
If an existing parametric design supports your measurements, it may be faster. MakerWorld's Ultimate Parametric Knob is an OpenSCAD customizer for D-shafts and round shafts with set screws. Text to CAD is useful when your dimensions or shape do not fit an available design.
Check the print and consider the operating temperature
Review walls, orientation and overhangs before printing. Studio measures minimum and 5th-percentile wall thickness, ranks orientations by support need, and checks bed fit. Its FDM overhang check defaults to 45 degrees. These checks do not guarantee a successful print or a working appliance control.
PLA softens with heat. QIDI's knob guide says PETG adds some insurance against heat, and recommends an OEM or approved replacement for gas, heat or safety-critical controls. Check the filament's temperature rating and the appliance's operating conditions. Replacing a knob near heat or mains electricity is your safety decision, not a fit problem a print check can settle.
Export STL or 3MF for slicing, or STEP for CAD work. For the wider workflow, read text to CAD for 3D printing.