Photo to DXF: Trace a Part or Scrap from a Photo (Free)
Photograph a part, template or offcut beside A4 paper and get a to-scale DXF or SVG outline with its holes. Free, in your browser, nothing uploaded.
Photograph a part or scrap beside A4 paper: its outline and holes to scale, as DXF or SVG.
How to take a photo that traces well
- Lay the piece on a plain surface that is clearly lighter or darker than it: dark plywood on a white floor, a steel plate on cardboard.
- Put a sheet of A4 or Letter paper flat beside it, or on it. Keep the paper uncreased and fully in the shot.
- Hold the phone straight above, high enough to get the whole piece and the paper, and avoid hard shadows across the edge.
- Tap the paper's four corners (they snap to its edges), then tap once on the piece. Check the green outline and red holes, adjust the edge detection if needed, and download.
What it is for
- Copy a part you have no drawing for. A bracket, a gasket, a shelf template, a broken piece of a machine: trace it, clean it up in your CAD program if it needs exact dimensions, and cut a new one.
- Use your offcuts. Trace an odd-shaped scrap with its holes, then nest new parts on it instead of starting a full sheet. Set a safety margin so parts stay clear of the edge.
- Measure an irregular piece. Width, height and area come out with the trace, which helps when quoting a job on a customer's own material.
What you get back
One closed outline for the piece and one for each hole, in millimetres, with the piece's corner at the origin. The DXF uses closed polylines on a layer named CUT; the SVG is one red hairline path sized in mm. The outline is made of short straight segments that follow the photo, so a circle comes back as a many-sided polygon: fine for cutting a copy or nesting on a scrap, but redraw critical holes as true circles if they must fit a bolt exactly.
Need to clean up a drawing you already have instead? The free DXF & SVG file fixer joins loose lines and closes gaps. To fill scraps with parts, read how to nest on scraps and offcuts.
Related tools
- SVG ⇄ DXF converter: Convert SVG to DXF and back, in your browser, ready for laser or CNC.
- Cut time estimator: Drop a DXF or SVG: cut length, pierces and the time it will take at your speeds.
- Cut list optimiser: Lowest-waste cutting plan for panels and linear stock, blade kerf included.
FAQ
How accurate is the outline?
On a sharp photo taken from straight above, with the paper flat beside the piece, the size usually comes out within a few millimetres. Errors come from the camera angle, a curled or folded sheet of paper and soft shadows. For a scrap you will nest on, keep a safety margin of 2 to 3 mm. For a part you will copy, cut a test in cardboard first if the fit matters.
Why do I need a sheet of paper in the photo?
The paper is the scale and the square. Its size is known (A4 is 210 × 297 mm, US Letter 8.5 × 11 in), so its four corners tell the tool how many millimetres each pixel is and how to straighten a photo that was not taken perfectly from above. You can also use any other rectangle you know the size of.
Is my photo uploaded?
No. The photo is read, straightened and traced in your browser. Nothing leaves your device, and you do not need an account.
What can it trace?
One flat piece per photo with a clear edge against the background: an offcut of plywood, acrylic or sheet metal, a gasket, a template, a broken part you want to copy. Holes and cut-outs inside it are traced too. It does not trace engraving, drawings on paper or 3D objects.
Which programs open the files?
The DXF opens in LightBurn, RDWorks, xTool Creative Space, AutoCAD, Fusion and most CAM software, in millimetres. The SVG is sized in millimetres too, so it imports 1:1 into LightBurn, Inkscape and Illustrator.
Can I nest parts on a traced scrap?
Yes. In a Quick Nesting project, under Cutting from a scrap?, choose Take a photo: the same tracer turns the photo into the sheet, and new parts are placed around the holes already cut in it.