3D Printing Generator
DeutschEnglish

Print a knob: pot knobs, drawer knobs and more

Knobs that actually fit

A broken knob on an amplifier, a missing control on the stove, a rotary encoder without a cap, or a dresser that needs new knobs: with this knob generator you design the right knob yourself and print it in about half an hour. You pick the shaft, choose size, shape and grip pattern, add a pointer or a scale and download the result as STL or 3MF. The example gallery shows the range, from the potentiometer knob for a 6 mm D shaft to the mushroom drawer knob.

Everything is computed right in your browser. Nothing is uploaded, and the whole design lives in the page’s link: “Share” copies it, so you can continue later or send it to someone.

How the generator works

The knob is a body of revolution: a profile of bottom edge, wall, rounding and top swept once around the axis. The grip pattern is a texture on the wall, and the bore for the shaft is cut from below. The grip textures – ribs, diamond knurl, waves and pyramids – are the heightfields of the OpenSCAD library BOSL2, translated to TypeScript and checked against BOSL2 itself: a knob from the generator has the same volume as the same pattern made by BOSL2, to within one percent.

Knobs always print top up. That is why they need no supports: the bottom edge is a 45° teardrop chamfer, every bore ends in a 45° cone at the top, the mushroom cap flares out at 45°, and the grip texture starts and ends on a 45° ramp.

Which shaft do you have?

The most important question first, because a knob is only as good as its fit. Under “Shaft and mounting” you choose the “Mounting”:

  • D shaft: the standard on potentiometers and rotary encoders. A 6 mm shaft with 4.5 mm “Across the flat” is the default. The pointer always faces the flat.
  • Double-D: two flats, found on ovens, washing machines and some encoders. Enter the distance between both flats.
  • Round: plain rods, such as rotary dimmers with a 4 mm rod. They are held by a press fit, the “Tapered entry” or a set screw.
  • Knurled: pots with a serrated shaft mostly have 18 teeth, sometimes 20 or 24. The generator prints the matching spline straight into the bore, see the knob for a knurled 18-tooth shaft.
  • Hex: hex shafts, measured across the flats.
  • Nut (furniture): a hex pocket for an M3 to M8 nut in the bottom, with the screw hole above it.
  • Heat-set insert: a hole for a melt-in threaded insert.
  • Bolt head: a pocket for the head of a hex bolt whose shank sticks out at the bottom – for star knobs.

How to measure: put your calipers across the round side of the shaft and read the “Shaft diameter”. For a D shaft also measure from the round side to the flat. The “Bore depth” is how far the shaft should reach into the knob; 8 to 12 mm is plenty for most pots. If the knob is too short for it, the generator shortens the bore and tells you, so enough material stays on top.

The “Clearance” is added to the bore size. 0.1 mm is a good start for a snug fit. If the knob is too tight, raise it in steps of 0.05 mm; if it wobbles, go smaller or even negative. The “Tapered entry” widens the bore at the bottom, so the knob slides onto the rod easily and grips at the top. Plain shafts can also get a “Set screw” in M2, M2.5 or M3: the knob gets a smooth collar at the bottom, the screw presses on the shaft from the side, and its nut slides into a slot from the side. The knob for a 6 mm round shaft with set screw shows it.

Shape and size

Under “Shape” you choose between Cylinder and Mushroom. The “Diameter” ranges from 8 to 90 mm, the “Height” from 4 to 60 mm. The “Taper” makes the knob narrower toward the top (0.92 is the default) or wider with values above 1. “Top rounding” rounds the top edge, and the “Bottom chamfer” breaks the edge on the bed.

The mushroom knob has a slimmer neck with its own “Neck diameter” and “Neck height”, and the cap flares out above it at 45°. It is the classic shape for drawers and cabinet doors.

A “Skirt diameter” larger than the knob adds a flat flange at the bottom, like on amplifiers and synthesizers. You can put “Scale ticks” on it: they spread over 300°, from seven to five o’clock, with the middle tick in the pointer’s direction. The large volume knob with a scale has eleven of them.

“Hollow underside” recesses the bottom, for example to clear a dimmer’s mounting nut. A hub with the “Recess wall” stays around the bore. The printer bridges the ceiling of the recess without supports.

Grip, pointer and top

For the “Grip” you can choose Smooth, Ribs, Knurl (diamonds), Waves, Pyramids, Round ribs, Flutes and Fin. “Count” and “Depth” set the pattern, and the “Plain band” keeps a smooth strip above and below it. Patterns that are too fine are coarsened, because a 0.4 mm nozzle cannot print them cleanly. Flutes with a few deep lobes make a star knob like the star knob for M8 bolts. The fin turns the knob into a stove knob: a disc with a bar whose tip shows the direction, as on the stove knob with a fin.

The “Top” is Flat, a Dome or a Dish for your finger; the “Curvature” sets its height or depth. The “Pointer” is a Line or a Dot on top, or a Notch cut into the side and the top. A dome has no flat spot, so any pointer becomes a notch there.

Under “Top decoration” you add a Colored cap, Text such as initials, or a Logo. The cap leaves the pointer open as a gap, so it shows in the knob’s color. The “Style” decides whether pointer, ticks and decoration are Raised, Flush inlays or Engraved; “Height / depth” sets the amount.

Printing in two colors

The knob has three color slots: the knob itself, “Pointer and decoration”, and “Plate and frame”. When the decoration gets its own color, pointer, scale, cap and text become separate parts. “Multi-color 3MF (PrusaSlicer)” brings them into PrusaSlicer with their extruder assigned for an MMU3, XL or Core One, and “3MF (Bambu Studio / OrcaSlicer)” does the same for an AMS. “STL per color (ZIP)” gives you every part on its own.

A single-extruder printer works too: since pointer and cap sit on top of the knob, one color change (M600) at the height of the top is enough. That is how the two-color synth knob gets its red cap on a black knob. Scale ticks on the skirt sit lower and need a color change of their own.

Dimmer knob, cover plate and frame

Rotary dimmers are often sold without any plastic parts. Under “Dimmer cover” the generator therefore adds a square Cover plate with a recess for the knob and, with Plate and frame, a frame like the ones of switch ranges. The defaults are a 66 mm “Plate size”, 8 mm “Plate thickness”, an 11 mm “Center hole” and a 90 mm “Frame size”; an “Indicator hole” is optional. All parts fit next to each other on a 180 mm bed, as in the dimmer set with a 90 mm frame. Please note: the plate is only a cover for dimmers whose live parts are already enclosed. It does not replace a certified switch cover.

Printing tips

Sliced in PrusaSlicer for the Prusa MINI+ (profile “0.20mm SPEED”, Prusament PLA, 15 % infill), the 30 mm pot knob takes 5.2 g of filament and 22 minutes. The small 22 mm knurled knob needs 2.9 g and 18 minutes, the mushroom knob 5.2 g and 29 minutes, and the stove knob 7.8 g and 32 minutes. The complete dimmer set of knob, plate and frame takes 43.6 g and just over an hour and a half in one color. Supports were switched on in the profile, and PrusaSlicer still generated none for any of these knobs.

  • Layer height: 0.2 mm is fine for most knobs. Fine knurling and small text look better at 0.15 mm.
  • Test the fit: for a new shaft, print a short knob first. It takes a few minutes and saves failed prints.
  • Material: PLA is fine for pots, furniture and dimmers. For stoves, ovens and washing machines use PETG or ASA, because it gets warm there.
  • Walls: three perimeters keep the wall around the bore strong; use four with set screws.
  • Inserting nuts: press furniture nuts into the pocket from below; set screw nuts slide into their slot from the side.

Origin and licenses

The grip textures come from BOSL2 by Revar Desmera (BSD-2-Clause): the heightfields of texture() were translated to TypeScript, and the screw and nut sizes come from the BOSL2 tables. Nut pockets and screw holes follow catchnhole by Maciej Małecki (MIT). The dimensions of the dimmer knob, cover plate and frame come from the model Light Dimmer knob, plate and frame by CoMet (CC BY 4.0), a remix of a 2013 design by Wouter Robers; only the dimensions were taken, the geometry is our own. All license texts are on the licenses page.

Start right away in the knob generator. If you also need a matching lid, try the screw cap generator, and for standoffs behind a front panel the spacer generator.

All parameters

The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.

ParameterDefaultRangeMeaning
Shape
Diameter30 mm8 – 90 mmOuter diameter at the bottom of the knob (the cap of a mushroom knob).
Height18 mm4 – 60 mmHeight from the bed to the top; a fin adds to it.
Taper0.920.6 – 1.2Top diameter divided by bottom diameter. 1 = straight, smaller = narrower at the top.
Top rounding2 mm0 – 10 mmRadius of the top edge.
Bottom chamfer0.5 mm0 – 5 mmEdge at the bed; printed as a 45° teardrop so nothing overhangs.
Neck diameter14 mm6 – 60 mmThickness of a mushroom knob’s neck.
Neck height12 mm2 – 50 mmLength of the neck up to the cap, which then flares out at 45°.
Skirt diameter0 mm0 – 120 mmA wide flange at the bottom, e.g. for a scale. 0 = no skirt.
Skirt height3 mm1 – 10 mmThickness of the skirt.
Hollow underside0 mm0 – 20 mmDepth of the recess in the bottom, e.g. to clear a dimmer’s nut. 0 = solid.
Recess wall2 mm1.2 – 6 mmWall thickness outside and around the bore.
Grip
Count243 – 120Ribs or diamonds around, or the number of lobes of a star knob.
Depth0.8 mm0.2 – 6 mmHow deep the grip pattern goes into the surface.
Plain band1.5 mm0 – 10 mmSmooth band above and below the pattern.
Fin width8 mm3 – 30 mmThickness of the fin.
Fin height14 mm4 – 50 mmHow far the fin stands above the disc.
Top
Curvature1.5 mm0.3 – 6 mmHeight of the dome or depth of the finger dish.
Scale ticks00 – 41Marks on the skirt, spread over 300° like on a volume control.
Text size0 mm0 – 30 mmHeight of the capital letters, 0 = automatic.
Height / depth0.6 mm0.2 – 2 mmHow far pointer, ticks and decoration stand out or are engraved.
Shaft and mounting
Shaft diameter6 mm2 – 20 mmMeasured with calipers across the round side; across the flats for hex shafts.
Across the flat4.5 mm1 – 20 mmD shaft: from the round side to the flat, usually 4.5 mm on 6 mm pots. Double-D: between both flats.
Teeth186 – 40Knurled pot shafts mostly have 18 teeth, sometimes 20 or 24.
Bore depth12 mm3 – 50 mmHow far the shaft goes into the knob, measured from the bottom.
Clearance0.1 mm-0.2 – 0.6 mmAdded to the bore size. If the knob is too tight, raise it in steps of 0.05 mm; negative values give a press fit.
Tapered entry00 – 0.2Widens the bore’s mouth, e.g. 0.1 = 10 % wider. The knob slides on easily and grips at the top.
Dimmer cover
Plate size66 mm40 – 120 mmSide length of the square cover plate.
Plate thickness8 mm3 – 15 mmThickness of plate and frame.
Plate rounding4 mm0 – 10 mmCorner radius and rounding of the top edge.
Center hole11 mm4 – 30 mmHole for the dimmer’s rod and mounting nut.
Frame size90 mm60 – 160 mmSide length of the frame, e.g. 90 mm like a switch frame.
Frame rounding8 mm0 – 15 mmCorner radius and rounding of the top edge.

Frequently asked questions

How do I find the right shaft?

Measure the shaft diameter with calipers. For D shafts also measure from the round side to the flat, and for knurled shafts count the teeth.

The knob is too loose or too tight – what now?

Change the bore clearance in steps of 0.05 mm and print again. Negative values give a press fit; on plain rods the tapered entry helps as well.

Can I print a stove knob in PLA?

Better not: stoves and ovens get warm, and PLA softens at around 55 °C. Use PETG or ASA, which take much higher temperatures.

How do I mount a furniture knob?

Press an M4 nut into the hex pocket from below, put the knob on the door and screw it on from inside with an M4 screw. A drop of glue keeps the nut in place while you start the screw.

How do I get the pointer and scale in another color?

Give the decoration its own color under Colors. The 3MF export then contains pointer, scale ticks, cap and text as a separate part with its extruder assigned.

Do I need supports?

No. The knob prints top up, bores end in a 45° cone and the bottom edge is chamfered. Even with supports switched on, PrusaSlicer generates none for the examples.

Origin & license

  • BOSL2 by Revar Desmera · BSD-2-Clause · helper code ported – grip textures (ribs, diamonds, wave_ribs, pyramids from texture()) translated to TypeScript; screw and nut sizes from the BOSL2 tables
  • catchnhole by Maciej Małecki · MIT · helper code ported – nut traps and screw holes (core/mech/screws.ts)
  • Light Dimmer knob, plate and frame – Parametric scad by CoMet (remix of a 2013 design by Wouter Robers) · CC BY 4.0 · dimensions and shape adopted – dimensions for the dimmer knob (4 mm rod), 66 mm cover plate and 90 mm frame