How to turn a photo of a part into an accurate DXF

Someone hands you a bracket, a gasket or a cardboard template and wants five more by this afternoon. There’s no drawing. Here’s how to get from “the part in your hand” to a DXF you can actually cut — and why a quick phone photo usually isn’t enough.

By Clint, MEC Manufacturing — a fab shop that has made a lot of parts from cardboard templates · October 2026

Why a quick photo isn’t accurate

Tracing a photo looks easy, and for a logo or a rough shape it is. For a part that has to fit, a hand-held photo lets you down in three ways:

A flatbed scanner fixes some of that, but in my experience its X and Y scales rarely match, and it can’t take anything bigger than its glass.

Three ways to get from photo to DXF

  1. Trace it by hand in CAD. Bring the photo into your CAD program, scale it to one measured dimension, and draw over it. Fine for one simple part; slow, and only as good as the photo.
  2. Auto-trace it. Free tools can turn a high-contrast image into vector lines. Good for artwork and signs; for real parts you still have the scale and distortion problems above.
  3. Use a fixed, calibrated camera. Mount a camera rigidly above a bed, calibrate it once, and let software correct the scale, lens and tilt every time. This is what our Sheet Metal Scanner does, and it’s what the rest of this guide covers.

What you need

A USB camera — the higher the resolution the better — with manual focus and exposure (most webcams and machine-vision cameras have both).
A rigid mount holding the camera straight down over the bed. If the camera moves, you calibrate again.
A background: a lit backlight (light table or acrylic lit from below) is best; a plain white or matte black surface works too.
A calibration plate: a flat sheet with a grid of holes. The software draws one sized to your camera’s view, and you cut it on your laser, waterjet or router.

Step by step

  1. Mount the camera and set the height so your largest parts fit in the view with some room around them. Aim it as square to the bed as you can.
  2. Pick the background for the part. A lit backlight turns any part into a dark silhouette — the most accurate setup, and the best for stainless and other shiny parts. A white, unlit background suits dark parts (mild steel, painted, black anodized); a matte black one suits bright parts like aluminum.
  3. Set the focus, then lock it. Changing focus changes the lens magnification — in testing, moving the focus from 63 to 66 (both sharp) changed a part’s measured length by about 0.06″. Focus first, calibrate second, then leave it alone.
  4. Calibrate with the grid plate. Lay the plate flat, covering as much of the view as you can, capture it and enter the hole spacing. One photo corrects scale, lens distortion and slight tilt across the whole area the plate covers.
  5. Set the exposure (Auto Adjust does this for each background), then capture and process the part. The software finds every edge and hole.
  6. Export the DXF. You get two copies of the part: the raw scan, and a cleaned-up copy with true circles, straight sides and sharp corners — the one to cut.
  7. Check one dimension in CAD before you cut. Always.
Shop tip: turn off the room lights. When you scan on a lighted bed in silhouette mode, switch off the shop lights over the bed. Light bouncing off the top of a light-colored, shiny or reflective part makes bright spots the software can mistake for edges or holes — and even dark parts reflect more than you’d think. With the room dark, the only light is coming up from under the part, so all the camera sees is a clean, sharp outline.

More tips for clean, accurate scans

How accurate is it, honestly?

With a good grid calibration, about ±1/64″ (±0.016″) on most measurements inside the calibrated area. With a simple scale-only calibration, more like ±0.05″ across a full bed, better near the middle. It depends on camera resolution, how flat the part lies, clean edges and good lighting. That’s plenty for duplicating parts, prototyping and complex shapes — it isn’t a $10,000 CMM.

Common questions

Can I just use a phone photo?
For artwork or a rough shape, yes. For a part that has to fit, no — a hand-held photo has no fixed scale, and the lens distortion and tilt change from shot to shot.

How do I scan stainless or other shiny parts?
Use a backlit bed so the part is a silhouette, and turn off the room lights (see the tip above).

Do I need a light table?
It gives the cleanest edges, but a plain white background works for darker parts and a matte black one for bright parts.

What about logos and artwork?
The Scanner also works directly on JPG, PNG and BMP files, so clip art and silhouettes can go straight to DXF — no camera needed.

Can I try it first?
Yes. Sheet Metal Scanner gives you 50 free scans with everything working, and the full user manual is online to read before you buy. After that it’s a one-time $49.99 — no subscription, no per-scan fees.

Questions about your setup?

Tell us about your camera, bed and parts, and what’s going wrong — we’ll help.

Why a form? Because the minute we post our email address, the spam bots find it too. Here’s the deal: a real person (me) answers as soon as I can, and after that we leave you alone unless you ask for more. Give it a try.

We use your email to reply to you, and only send updates if you tick the box. Privacy policy