Free generator · Runs in your browser

Knob generator Turn it up.

Design custom knobs for potentiometers, encoders and shafts: D-shaft or knurled bores, five grip styles, pointer and skirt, ready to print.

  • Free and privateNothing to install
  • Five grip stylesKnurled, fluted, lobed and more
  • Shaft-accurateBores to datasheet sizes
  • Ready to sliceSTL and two-colour 3MF

Drag to rotate · Scroll or pinch to zoom · Arrow keys when focused

Size
—
Filament
—
Parts
—
Fits
—

Start from

Shaft

Shaft flat faces
0.150 mm
12.0 mm

Body

32.0 mm
18.0 mm
2.50 mm

Grip

Grip
16.0
1.2 mm

Details

Pointer
42.0 mm
2.4 mm
11.0

Download

Building the preview…

Print it well

    Everything is built on this device. Nothing you type or upload is sent anywhere.

    Advertisement

    The method

    Design a knob that fits

    Pick the shaft, size the body and choose a grip. The bore is cut to the shaft standard with a clearance you can tune, so the knob goes on snugly. Grips, pointer and skirt are added as one watertight model.

    Shafts

    Common shaft sizes

    ShaftSizeSeen on
    6 mm D-shaftØ6 mm, 4.5 mm across the flatPotentiometers and rotary encoders (Bourns, Alps)
    6 mm knurledØ6 mm, 18 teeth, splitEncoders such as the Bourns PEC11R
    1/4 inchØ6.35 mm roundOlder and US-made potentiometers
    6 mm roundØ6 mmGeneric shafts with a set screw

    Check your part’s datasheet: shaft lengths and flat lengths vary.

    Fit

    Getting a snug fit

    • Start at 0.15 mm clearance; holes print slightly small on most printers.
    • Print bore-down so the hole is round and accurate.
    • Too tight? Raise the clearance by 0.05 mm. Too loose? Lower it, or add a drop of glue.
    • Measure your printer with the tolerance test generator.

    Questions, answered

    Will it fit my potentiometer?

    Most panel potentiometers and encoders use a 6 mm D-shaft (4.5 mm across the flat) or an 18-tooth knurled 6 mm shaft. Check your part’s datasheet.

    Can I add a set screw?

    The bore is made to grip by shape. For a set screw, drill and tap after printing or glue the knob in place.

    Which material should I use?

    PLA works well indoors. PETG is tougher and less likely to crack around the bore.

    Sources

    Print advice is a starting point drawn from these references, checked on 2026-11-07. Community posts are one maker's experience, not a specification.

    1. PEC11R rotary encoder datasheet (shaft dimensions) Bourns
    2. Modeling with 3D printing in mind Prusa Research