Guides ·

How to make a foam tool insert from a photo

A foam insert with a pocket for every tool keeps a case tidy and shows at once what is missing. Tracing each tool with a marker works, but a photo is faster, as long as something in it has a known size. Here is why a plain sheet of paper does that job, how pockets are sized, and a worked example with pliers, a bar and a washer on A4.

Lay your tools on a sheet of paper, take one photo, and get the foam insert DXF from the free unmake page.Try it on your own file
The unmake foam insert page: on the left the photo with pliers and a washer outlined in orange on A4, on the right the drawing with a pocket and finger notch for the bar inside the box; 3 parts, longest 7.09 × 2.04 in, box 290 × 155 mm, pocket depth 17 mm
Photo on the left, drawing on the right: drag the divider to compare. Test picture rendered by unmake from a photo of pliers by Jacek Halicki, CC BY-SA 4.0.

Why the sheet of paper matters

A photo has no scale: the same pliers fill more pixels when the phone is closer. Something of known size in the picture fixes that, and a sheet of printer paper is ideal. Everyone has one, it lies flat, and its size is standard: A4 is 210 × 297 mm, US Letter is 8.5 × 11 in (215.9 × 279.4 mm).

Its four corners do a second job. A phone held slightly off straight sees the sheet as a skewed shape. Mapping the corners back to a true rectangle straightens the whole photo, so lengths are right across the sheet, not just in the middle.

The paper sheet is the known rectangle: its four corners in the photo are mapped back to a true 297 by 210 mm sheet, which gives every pixel a size in millimetres
The sheet's four corners straighten the photo; its known size sets the scale.

Lay out the tools and take the photo

Arrange the tools on the sheet the way you want them in the case, at least a finger's width apart, and keep the whole sheet in view with nothing over its corners. Shoot from straight above in even light, on a plain surface so the paper's edges stand out.

Height matters for thick tools. The camera sees a tool's top, which is nearer than the paper, so the tool looks slightly bigger, by about its thickness divided by the camera's height. A 15 mm thick tool shot from 40 cm reads about 4 % large; from 1 m, about 1.5 %.

Pockets: outline, clearance, notch, depth

Each pocket starts from the tool's true outline, grown outward by a clearance so the tool goes in without forcing. Layered foam squeezes, so a small clearance holds tools snugly; firmer materials need more. A round finger notch at the side lets you lift the tool out.

Cut the pocket a little deeper than the tool is thick, so it sits just below the surface. The box round all the pockets adds a margin, so the foam doesn't tear at the edge.

A foam pocket is the tool outline grown by the clearance, with a round finger notch, cut as deep as the tool is thick plus 2 mm
Outline plus clearance, a finger notch, and a depth of thickness plus 2 mm.

Cutting the foam

With a laser or a CNC router, import the DXF and cut the pocket outlines to depth. Without a machine, print the SVG at 100 % (actual size), lay it on the foam, cut round each pocket with a sharp knife and pull out layers down to the depth.

Either way, cut one pocket in a scrap first and try the tool in it. Five minutes there saves a whole sheet of foam.

Doing it in the browser

The free unmake foam insert page does the measuring and the drawing in the browser; the photo is not uploaded. Drop the photo and it finds the sheet, outlines each tool and draws the pockets and the box. Drag the divider between Photo and Drawing to compare them, and tap an object to leave it out or to add one it missed.

Adjust holds the paper size, Clearance (0 to 6 mm, 1.5 mm to start), Finger notches (none, one side or both sides), Tool thickness and Margin. Download DXF saves BOX and POCKETS layers in millimetres; Details lists every size and has an SVG.

A worked example: pliers, a bar and a washer on A4

  1. The photo is the page's own test picture, 2,000 × 1,500 px: combination pliers, a steel bar and a washer on A4, rendered at known sizes so the answers can be checked. The pliers are 180 mm long, the bar 120 × 30 mm and the washer 24 mm across.
  2. Dropped on the page: 3 parts. Details says the sheet looks like A4, so A4 is used, and that the photo has 3.9 pixels per mm, taken 3° from straight above.
  3. Sizes: pliers 7.09 × 2.04 in (180 × 52 mm), bar 4.73 × 1.19 in, washer 0.95 × 0.95 in. In millimetres the bar is 120.1 × 30.2 and the washer 24.1, within a few tenths of the truth. The panel's ± 0.03 in is the scale error from the sheet, not a limit on each outline.
  4. The pliers' length is exact, but their width reads 52 mm against 54.5 mm in the test picture. Try the widest part of a tool in a test pocket before cutting the whole insert.
  5. The drawing: Box 290 × 155 mm, pocket depth 17 mm, from the starting values of 1.5 mm clearance, a finger notch on one side, a 15 mm tool thickness and a 15 mm margin.
  6. Download DXF: a DXF R12 file in millimetres, with a 290 × 155 mm rectangle on the BOX layer and three closed outlines on the POCKETS layer.
  7. Before cutting your own insert, set Tool thickness to your real tools: the 17 mm depth is the 15 mm thickness plus 2 mm.

Common mistakes

Questions

What clearance should a foam tool insert have?

The page suggests 1 to 2 mm for layered (Kaizen-style) foam, which squeezes, and 2 to 3 mm for rigid foam, EVA or wood. It starts at 1.5 mm.

Can I make a foam insert without a laser?

Yes. Print the SVG at 100 %, lay it on the foam, cut round each pocket with a sharp knife and peel out layers to the depth.

What if my tools don't fit on one sheet?

Photograph them in sheet-sized groups and place the DXF files side by side in your CAD or laser software; each keeps its true size.

Why a sheet of paper and not a ruler?

Its four corners straighten the photo as well as giving the scale, and it lies flat under the tools.

Sample file: pliers-on-a4.jpg (the page's test picture: pliers, a bar and a washer on A4) · CC BY-SA 4.0 (rendered by unmake; pliers photo by Jacek Halicki, Wikimedia Commons)

Sources

Lay your tools on a sheet of paper, take one photo, and get the foam insert DXF from the free unmake page.Try it on your own file