AdderCAD Launching soon

Examples

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.

Questions

How do I measure a D-shaft for a replacement knob?

Use calipers to measure the shaft diameter, the width across its flattened profile and the usable shaft length. QIDI's guide lists these three dimensions for D-shafts on stoves, ovens and potentiometers. Also check how far the shaft entered the original knob. A photo can show the arrangement, but it cannot replace the measurements.

How big should the D-shaft hole be in a printed knob?

For a push-on knob, start about 0.1 to 0.2 mm per side over the shaft, so a 6.2 mm hole for a 6 mm D-shaft. A Cults3D listing supplies that example, and BuildCAD lists 0.15 to 0.2 mm per side for snug and sliding fits with a 0.4 mm nozzle. QIDI does not state whether its set-screw allowance is per side or total. Test a coupon.

Can a 3D printed replacement knob handle heat?

It depends on the filament and the temperature at the appliance. 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 manufacturer's temperature rating and the appliance's operating conditions. A knob near heat or mains electricity is a safety decision, not only a dimensional fit.

How do I add a set screw to a replacement knob?

QIDI uses an M3 grub-screw hole perpendicular to the shaft. AdderCAD's rules give 3.4 mm for an M3 clearance hole, about 2.55 mm for an M3 self-tapping hole and across-flats plus 0.3 mm for a hex nut trap. Choose the fastening method first, and check the fit with the actual hardware.

Can I make a replacement knob from a photo?

You can attach a photo in AdderCAD Studio for visual reference when image input is supported. That does not turn the photo into reliable dimensions. Measure the shaft diameter, flat width and length with calipers and include those values in your prompt. A photo alone is not a promise of a fitting replacement knob.

Why use sliders instead of scaling a replacement knob STL?

A knob usually fails at one fit-critical feature, such as the D-shaft pocket or its depth. In AdderCAD Studio, every numeric parameter in the generated CAD code becomes a slider. You can change that value and rebuild the solid without another AI request. Scaling the whole model would change the outer knob and the shaft features together. For other parts, see how AI mesh generators differ from CAD.

Be first to describe a part.

AdderCAD is launching soon. Join the waitlist and we'll email you once, when it opens.