# Tool foam insert generator

> Lay your tools on a Letter or A4 sheet, take one photo, and get a DXF with a pocket for each tool, clearance and finger notches included, in a box sized to fit. Cut it with a laser, CNC or a knife on Kaizen foam.

Human page: https://unmakelabs.com/en-us/tool-foam-insert-generator/. This is the version for AI agents.

## What it does

Tool foam insert generator from a photo: pockets that fit, cut-ready DXF Lay your tools on a Letter or A4 sheet, take one photo, and get a DXF with a pocket for each tool, clearance and finger notches included, in a box sized to fit. Cut it with a laser, CNC or a knife on Kaizen foam.

## What you get

A cut file with two layers: the box outline (your tools plus a margin, rounded up to 5 mm) and the pockets. Each pocket is the tool's true outline grown by the clearance you choose, with a round finger notch so you can lift the tool out. The panel also suggests the cut depth from the tool thickness.

## Who it's for

Mechanics and electricians organising a tool case, 5S and lean teams making foam shadow drawers, makers with a laser or CNC, and anyone who has tried tracing tools onto foam with a marker.

## Facts

- **Pockets:** True outline + clearance (0 to 6 mm, 1.5 mm default) + finger notches on one or both sides
- **Box:** Pockets + margin, rounded up to 5 mm; cut depth = thickness + 2 mm
- **Downloads:** DXF R12 (BOX and POCKETS layers) and SVG, in mm
- **Scale:** Error in mm shown on the result; typically a few tenths of a mm across the sheet

## How a person does it

1. **Lay out the tools.** Arrange the tools on a white sheet as you want them in the foam, at least a finger's width apart, and photograph them from straight above.
2. **Set the fit.** Choose clearance, notches and the margin; untick a tool to leave it out. Pockets and the box update on the photo.
3. **Cut.** Download the DXF and cut the pockets to the shown depth: laser or CNC on Kaizen or EVA foam, or print the SVG at 100 % as a knife template.

## 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/tool-foam-insert-generator/?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 layout follows where the tools lay on the paper, so arrange them as you want them in the case. Large toolsets bigger than a sheet: photograph them in groups and combine the DXFs in your CAD program. 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 nest tools automatically: the layout is the one in your photo
- Doesn't make stepped pockets for tools with very different heights
- Doesn't trace tools larger than the reference sheet in one photo

## 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

- **What clearance should I use?** For Kaizen-style foam 1 to 2 mm is common: the foam compresses, so tools hold without falling out. For rigid foam, EVA or wood, use 2 to 3 mm. The default is 1.5 mm.
- **Can I cut the foam without a laser?** Yes. Print the SVG at 100 % (true size), lay it on the foam and cut along the lines with a sharp knife, then pull out the layers to the depth shown.
- **Does it work for a whole tool drawer?** Photograph the drawer contents in sheet-sized groups, download each DXF, and place them side by side in your CAD or laser software; each file keeps its true size.
- **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

- [Photo to DXF](https://unmakelabs.com/en-us/photo-to-dxf/)
- [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/)
