3D Printing a Replacement Knob or Clip From a Photo
A cracked dial on the oven, a snapped clip on a car vent, a knob that vanished off the washing machine. 3D printing is a great way to replace small parts like these, and a photo gets you most of the way there. Here's the quick answer: shoot the broken part flat on a surface with a ruler or a known sheet of paper beside it, trace the outline in CAD with the image scaled to real size, then use calipers on the few dimensions that decide whether it fits. Before you print the whole part, print a thin test slice of the bit that mates with something else. The photo gives you the shape. The calipers and the test print give you the fit.
Why a photo alone won't give you a perfect fit
A phone camera shows things in perspective. Anything closer to the lens looks bigger, so a thick knob's top face comes out larger than its base, and the edges you trace are a little fuzzy. That's fine for the grip of a knob or the outside of a clip. It's not fine for the hole that slides onto a shaft or the tab that snaps into a slot, where a few tenths of a millimetre decide between loose, perfect and won't go on at all.
So split the job in two. Use the photo for the overall outline and proportions, and measure the critical features directly.
Take a photo you can actually scale
A bit of care here saves a lot of redrawing later:
- Put the part and a ruler (or a sheet of paper of known size) on the same flat surface, so they sit in the same plane.
- Shoot from straight above, not at an angle. Step back and zoom in a little rather than holding the phone close, which cuts down the perspective effect.
- Use even light from the side or overhead so the edge throws a crisp shadow line, not a big soft one.
- If the part broke into pieces, tape them together first, or shoot each piece with the ruler in frame.
- Take a second photo from the side if the part has height that matters, like a knob skirt or a clip's hook.
Trace it in CAD and set the scale
Most CAD programs let you drop a photo in as a reference and scale it. In Fusion, the image goes in as a canvas, and Autodesk's help page on calibrating a canvas lays out the steps: expand the Canvases folder in the Browser, right click the image, choose Calibrate, pick two points on the image, type the real distance between them and press Enter. Pick two points far apart on your ruler, like 0 and 100 mm, because a small clicking error matters less over a long distance.
Then sketch over the outline with lines and arcs. Don't chase every wobble in the photo. Real parts are mostly straight lines, circles and a few fillets, so draw the clean shapes the designer probably intended. Once you've traced it, check a second dimension you can measure on the real part. If it's off, your photo was tilted or the scale points were misplaced.
Measure the dimensions that decide the fit
Now put the photo away and pick up the calipers. For a knob that's usually the shaft bore diameter, the width across the flat if the shaft is D-shaped, and how deep the shaft goes in. If you can, measure the shaft itself rather than the broken knob, since the old hole may be worn or cracked open. For a clip, measure the thickness of the panel or rail it grips, the width of the slot it snaps into, and the size of the hook.
Type those numbers straight into your sketch so they override whatever the trace suggested. Then add some clearance to anything that has to slide over or into something else. How much depends on your printer, filament and settings, which is exactly why the next two steps exist.
3D printing settings that change how parts fit
Even a perfect model can print a bit off. The Slic3r manual's page on dimension errors explains why holes in particular come out small: plastic shrinks as it cools, extra material builds up on the inside of curves, STL files approximate circles with flat segments, and loose belts or Z wobble make it worse. Its advice is to fix the hardware first and only then reach for software compensation.
A few settings are worth knowing:
Elephant foot. The first layer gets squished into the bed and spreads wider than it should. On a knob printed face down, that flared edge can stop it seating flush. Prusa's elephant foot compensation article says the setting is under Print settings, Advanced (you need Advanced or Expert mode), that values around 0.2 mm usually work with a 0.4 mm nozzle, and that Prusa's own profiles turn it on by default.
Hole and contour compensation. OrcaSlicer, and Bambu Studio which shares its roots, has X-Y hole compensation and X-Y contour compensation. The OrcaSlicer precision settings page describes how holes or outer contours "expand or contract in the XY plane by the configured value", with positive values making them bigger. The same page covers polyholes, which turn round holes into straight segments that print more reliably.
Calibrate instead of guessing. OrcaSlicer ships a tolerance test you can add by right clicking the plate in Prepare mode and choosing Add Handy Model. The OrcaSlicer tolerance calibration page describes a base with six hexagonal holes at nominal clearances of 0.0, 0.05, 0.1, 0.2, 0.3 and 0.4 mm, checked with a 6 mm Allen key or the printed tester. Print it once in the filament you'll use for the part and you'll know roughly what clearance your setup needs.
Print a test slice first
A full knob might take an hour. The bore that matters is the bottom ten millimetres. So cut the model and print just that slice, push it onto the shaft, and adjust. Two or three ten minute test prints beat three failed full prints. Once the fit is right, print the whole part with the same filament and settings, because changing material can change the fit.
Material and orientation for knobs and clips
FDM parts are weakest between layers. A clip that has to flex should be oriented so the bending happens along the layer lines, not across them, or it'll split the first time you squeeze it. Usually that means printing a clip lying on its side rather than standing up.
Knobs are easier. Printing face down gives a clean top, but then the bore's opening is at the top of the print, and that's often where tolerances are best anyway. Near a stove or a hot appliance, think about heat. PLA softens at lower temperatures than PETG or ASA, so check your filament's data sheet before putting a PLA knob next to an oven door.
Where this approach falls short
Be honest with yourself about what a photo can recover. Knurled grips, internal ribs, hidden detents and tiny snap features often aren't visible in a top down shot, and you'll have to measure or guess them. Parts under load or heat, like anything structural or touching a hot element, may need a material your printer can't handle well. And a spring loaded or safety related part, such as a gas valve knob with a push to turn lock, is something to replace with the real spare, not a print. Last thing: printed tolerances vary between printers, filaments and even spools, so treat any clearance figure, including the ones above, as a starting point for your own test.
Frequently asked questions
Can I scale a photo to real size for 3D modeling?
Yes, as long as something of known size sits in the same plane as the part. Put a ruler or a sheet of paper next to it, shoot from straight above, then use your CAD program's calibrate tool to set the distance between two points far apart on the ruler.
Why are holes in my 3D prints smaller than designed?
Holes usually print small because plastic shrinks as it cools, extra material builds up on the inside of curves, and STL files approximate circles with flat segments. Loose belts and Z wobble make it worse. Fix hardware issues first, then use hole compensation or extra clearance in the model.
How much clearance should a printed knob have on its shaft?
There's no single number, because clearance depends on your printer, filament and slicer settings. The practical approach is to print a tolerance test with clearances from 0.0 to 0.4 mm, see which fits, and then print a thin test slice of the knob's bore before the full part.
Which way should I print a replacement clip?
Print a clip so it bends along the layer lines, not across them, which usually means lying on its side. FDM parts are weakest between layers, so a clip printed standing up tends to split the first time it flexes.
Once your model is drawn and exported, the free QC tool on 3D Tools can check it before slicing: it flags holes, open edges and non-manifold edges (places where the mesh isn't a clean closed surface), places the part on the bed, and has a plane cut so you can slice off just the bore or the clip tab as a quick test print. It runs in your browser and the file isn't uploaded.
Sources
Free 3D printing tools
Convert projects, make Gridfinity inserts, turn photos into layered prints and check models before slicing. In your browser, no install.
Open 3D Tools

