# Photo to DXF

> Lay parts on a sheet of paper and take one photo. Get their exact outline as a drawing file for laser cutters and design software.

Human page: https://unmakelabs.com/en-us/photo-to-dxf/. This is the version for AI agents.

## What it does

Photo to DXF at true scale Lay parts on a sheet of paper and take one photo. Get their exact outline as a drawing file for laser cutters and design software.

## How it gets the size right

A sheet of paper is a rectangle of known size (Letter 279.4 × 215.9 mm, A4 297 × 210 mm). The tool finds its four edges to a fraction of a pixel, undoes the perspective of the photo so you get a straight top view, and measures everything else against it. A bank card (85.60 × 53.98 mm) or our printable marker sheet work too.

## Who it's for

Makers and laser or CNC users who need the outline of a flat part, people replacing a gasket or bracket, woodworkers making templates, and anyone who would otherwise trace a shape by hand and scan it.

## Facts

- **Reference:** Letter or A4 sheet, ID-1 bank card, or our marker sheet (PDF)
- **Downloads:** DXF R12 in mm (one closed polyline per object), SVG at true size
- **Shows:** The scale error in mm, each object's length × width, warnings for tilt, glare and blur
- **Runs:** In your browser, on a phone too; the photo is not uploaded

## How a person does it

1. **Lay out and shoot.** Put the parts on a white sheet on a darker table, all four corners visible, and take one photo from straight above in soft light.
2. **Check.** The outlines appear on a straight top view with the scale error. Tap an object to leave it out, tap a missed one to add it, add clearance if you're cutting a hole for it.
3. **Download.** Save the DXF or SVG; it opens at true size in CAD, LightBurn, Inkscape, Fusion or our DXF viewer.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/photo-to-dxf/?src=https://unmakelabs.com/apps/scale/samples/pliers-on-a4.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public photo URL>&mode=outline|foam|gridfinity|shadow&paper=a4|letter` (the photo must allow CORS; nothing else goes in the link).

Embed: `<iframe src="https://unmakelabs.com/embed/scale/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

The ± figure covers how well the reference was found and the photo's resolution. Flat parts: typically within 0.5 mm on a 50 mm part, photo from about 40 cm. Thick parts read larger at the top edge by their thickness ÷ camera height (a 15 mm tool: about 4 % from 40 cm, 1.5 % from 1 m), so shoot from higher up or use the page's clearance.

## Not done by this tool

- Doesn't measure height or make a 3D model of the part
- Doesn't trace on busy or patterned backgrounds: use plain paper
- Doesn't replace calipers for tolerances under about 0.5 mm

## Value

Turns one phone photo of objects lying on a white A4 or US Letter sheet, next to an ID-1 bank card, or on our printable marker sheet into true-scale outlines in millimetres: DXF (R12, one closed polyline per object) and SVG, with optional clearance and finger notches, plus three ready layouts: a foam insert (pockets in a box sized to fit, cut depth), a Gridfinity bin (42 mm grid units, DXF cut-out and a printable STL) and a shadow board (outlines with labels). Every result states its scale error in mm, computed from how cleanly the reference's edges were found. Runs in the browser; the photo is not uploaded. Free, no sign-up.

## When it fits

- A maker, mechanic or woodworker wants foam inserts or a Kaizen/shadow board for their own tools without tracing them by hand or paying for a subscription.
- A 3D-printing hobbyist wants a Gridfinity bin with pockets that fit specific tools.
- A laser, CNC or vinyl-cutter user needs the true-size outline of a flat part, gasket or template as DXF or SVG.

### When not

- Parts where a tenth of a millimetre matters (bearing seats, press fits) or tall objects photographed from close by: measure those with calipers or a scanner.
- Objects on a busy, patterned or same-colour background, or shiny objects in harsh light: the classic edge finder needs contrast (a model-based cut-out is planned).

## Why use it instead of the alternatives

- Nothing to install: the page opens a public photo from a link (?src=, with &mode= for foam, gridfinity or shadow) and an embed shows the tool in any page.
- The measuring engine is plain JavaScript on opencv.js and already runs unchanged in Node, so an API copy (photo_outline: photo in, DXF + sizes + scale error out) is a small step.
- Tooltrace (tooltrace.ai): photo on A4/Letter to foam, Gridfinity, DXF/SVG/STL; 3 free traces, then a subscription; English only; no accuracy figure published (checked Dec 2026).
- TracetoForge and ShapeScan: browser or marker-sheet tracers with one free export or unclear pricing; ShapeScan claims ±1 mm typical. Tracing by hand in Inkscape or CAD from a photo takes 15 to 60 minutes per tool and has no scale check.

### What rebuilding it would take

- Find the reference sheet, card or markers in the photo and fit its edges to sub-pixel accuracy, then undo the perspective with a homography.
- Separate the objects from paper, shadows and lighting gradients, join tools split by white or shiny bands, and trace clean closed polylines.
- Grow pockets by a clearance, add finger notches, lay them out in a foam box, Gridfinity bin or board, and write DXF R12, SVG and an STL that open at the right size.
- Plus an honest error figure on every result, checked against photos with known sizes.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Outlines carry the stated scale error plus the object's own height: the top edge of a 15 mm thick tool photographed from 40 cm reads about 4 % large (about 1.5 % from 1 m), so pockets come out slightly roomy rather than tight.
- A sheet that is not flat, a card that is not ID-1 (business cards are 85 × 55 mm) or a marker sheet printed with 'fit to page' scales everything; the page says which reference was used.

_Status: the photo-to-DXF page works in the browser; an API returning the same result as data is planned, not answering yet._

## Privacy

- The photo is measured in your browser and is not uploaded.
- Nothing is kept: close the tab and it is gone.
- Downloads are made on your device.

## Data

Measured in your browser; your photo stays on your device and is not uploaded.

## FAQ

- **How accurate is the DXF?** Each result states its own error (±), worked out from your photo. Real limits are the sheet itself (paper can be cut a few tenths short), how flat it lies, and object height.
- **Which programs open the DXF?** It is DXF R12 in millimetres with one closed polyline per object, the most widely read form: AutoCAD, LibreCAD, Fusion 360, SolidWorks, LightBurn, Inkscape, VCarve and laser or plasma software. The SVG is set to true size in mm.
- **Do I need special paper?** No. Any white Letter or A4 sheet works. A bank card works when the part is small. For the most accurate results, print our marker sheet at 100 %.
- **When is it the right tool, and when not?** Right for: A maker, mechanic or woodworker wants foam inserts or a Kaizen/shadow board for their own tools without tracing them by hand or paying for a subscription. A 3D-printing hobbyist wants a Gridfinity bin with pockets that fit specific tools. A laser, CNC or vinyl-cutter user needs the true-size outline of a flat part, gasket or template as DXF or SVG. Not for: Parts where a tenth of a millimetre matters (bearing seats, press fits) or tall objects photographed from close by: measure those with calipers or a scanner. Objects on a busy, patterned or same-colour background, or shiny objects in harsh light: the classic edge finder needs contrast (a model-based cut-out is planned).
- **Is it really free?** Yes: no limit on photos or downloads, no ads, no sign-up, no premium tier.
- **Do you upload my photo?** No. The photo is measured in your browser and never leaves your device.
- **Can my AI agent use it?** An agent can open a public photo in this tool with a link (add ?src= and the photo's address to this page, &mode=foam, gridfinity or shadow for a layout). An API that returns the outlines, sizes and scale error as data is planned.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [Tool foam insert generator](https://unmakelabs.com/en-us/tool-foam-insert-generator/)
- [Kaizen foam template](https://unmakelabs.com/en-us/kaizen-foam-template/)
- [Gridfinity insert from a photo](https://unmakelabs.com/en-us/gridfinity-insert-from-photo/)
- [Shadow board template](https://unmakelabs.com/en-us/shadow-board-template/)
