Print your own socket set case insert
Why a printed insert?
The foam in a socket set case rarely lasts as long as the tools. It crumbles, tears at the thin webs, or is missing altogether in a second-hand set – and then sockets, bits and extensions end up in a heap after the first trip. A printed socket set case insert replaces it with a perfect fit: every socket stands in its own hole, every bit lies in a pocket shaped exactly like it, and the size is engraved right there. When something is missing, you see it at a glance.
The generator builds such an insert from your measurements. You enter the inside dimensions of the case and the height up to the lid, then decide what goes in: socket rows with upright sockets, lying tools such as bit sockets, deep sockets, extensions and universal joints, and a ratchet with head, reversing lever and handle. The result is one block with all the pockets as STL or 3MF, split into pieces that fit your print bed when needed.
The gallery has ready-made examples: the complete insert for a 1/4 inch set, the large 1/2 inch insert in two halves, a narrow socket rail from 4 to 13 mm and the two-tone insert with a red rim.
What you need
- Calipers. A ruler is not precise enough; 0.1 mm resolution is all you need.
- The inside dimensions of the case: width and depth at the bottom, plus the height from the bottom to the inside of the closed lid. If the lid has ribs or its own foam layer, measure up to those.
- The sizes of your tools: outer diameter and length of every socket, and a few diameters along the length of the lying tools.
- A printer with a big enough bed – or the patience for a few pieces. A small 1/4 inch insert fits a Prusa MINI with its 180 × 180 mm bed in one piece; the generator splits larger ones.
Leave a little room: an insert half a millimeter smaller than the case on each side slides in more easily. A case that is 177 mm wide inside gets a 176 mm insert.
Case and height
The Case section holds four sizes. Width and depth set the footprint. The height to the lid is the most important number: every tool is sunk so that its top sits exactly 1 mm below the lid. The closed lid presses on nothing, and still nothing can fall out. The insert height is the height of the block itself. Whatever sticks out above it – the top of a socket or the thick middle of a ratchet handle – disappears into the lid when you close it.
An example: a case with 34 mm up to the lid and a 27 mm insert leave 7 mm of room. A socket that is 25.5 mm long then stands 6 mm proud of the insert, and its hole is 19.5 mm deep. The 1 mm rounding on every edge of the block comes from the original design.
Measuring sockets and adding rows
Upright sockets are organized in socket rows. A row has a starting point (X and Y from the front left corner), a direction – to the right or to the back – and a rotation. Its sockets are lined up automatically with 1 mm gaps, so the smallest one does not have to come first. For every socket you enter three values:
- Ø: the largest outer diameter. On small 1/4 inch sockets that is usually the square drive end at about 12.5 mm, not the hex end. The generator adds the play for upright sockets, 0.5 mm by default.
- Label: engraved into the hole floor, 5 mm tall and 2 mm deep by default. If it does not fit the hole, it gets smaller.
- Length: the overall length of the socket. Together with the heights it sets the depth of the hole.
It is quicker with “Insert a row from the set”: choose the drive (1/4, 3/8 or 1/2 inch), metric or SAE sizes and standard or deep sockets, and the generator adds a whole row with typical catalog sizes. Those values are deliberately on the generous side – brands differ by up to a millimeter. Where it matters, overwrite them with your own measurements. Impact sockets are much thicker and are not in the table; always measure those yourself.
Every hole has a rounded opening at the top, the hole rim rounding, so a socket finds its place by itself when you drop it in.
Lying tools as a profile
Bits in bit holders, deep sockets, extensions and joints are better lying down than standing up. The generator describes them as a profile: a list of position and diameter along the tool’s axis. “0:12 32:12 32.1:6.8 50.5:6.8” means: from 0 to 32 mm the tool is 12 mm thick, then it steps down to 6.8 mm and ends at 50.5 mm. Between two pairs the generator makes a cone, so tapered sections and handles work too. The play for lying tools (0.5 mm) is added to every diameter and to the length.
Lying tools come in groups. All tools of a group point the same way and lie side by side, 1.5 mm plus both half diameters apart – exactly as in the original. For each group you set the starting point, the direction and the side the row grows to. Each tool’s name is engraved into the pocket floor under it, automatically at its diameter divided by 2.5.
To get started there are presets taken from the measurements of the original project: Torx, Phillips, slotted and hex bit sockets, deep 1/4 inch sockets from 4 to 13 mm, extensions of 50, 100, 150, 125 and 250 mm, universal joints and a 1/2 to 1/4 inch adapter. They are the sizes of one particular set – check your own tools before you print.
The pockets are as deep as needed for the top of each tool to sit 1 mm below the lid. When that puts the axis of a thick tool below the top of the insert, the generator opens the pocket straight up from the axis. You can grab the tool, and the print has no overhang.
The ratchet pocket
The ratchet is the hardest part because its cross-section changes all the time. The generator builds its pocket from three elements: a narrow bore for the square drive under the head, a wide bore for the head itself and a circular segment for the reversing lever. The handle follows as a profile measured from the center of the head. Profiles for a 138 mm 1/4 inch ratchet and a 254 mm 1/2 inch ratchet from the original are built in. “Handle axis below the top” sets how deep the ratchet is sunk.
Splitting large cases
Many socket cases are wider than 180 mm. With “Split” on “Automatic” the generator cuts the insert into as many equal pieces as needed for each one to fit your bed – you set the bed’s edge length. Under “Piece” you choose which piece to download; “All pieces” shows them together. If they do not fit on the bed together, the generator tells you to download them one by one. In the case the pieces simply butt together. The case holds them, no glue needed. A cut may well run through a pocket; the tool bridges the joint.
Check before you print
Below the model the generator lists what does not fit: pockets that overlap, tools sticking out over the edge, holes that would reach the bottom, or tools with less than 0.8 mm of material underneath. The top view is the best help here – it opens as soon as you edit a position. A test print is worthwhile before the whole block runs: set up a narrow rail with two or three sockets and a bit, like the socket rail. It prints in half an hour and shows whether diameters and play are right.
Printing tips
- Orientation: flat, the way the generator lays the insert out. Every pocket opens upward, so no supports are needed.
- Layer height: 0.2 or 0.3 mm. The round pocket floors are built from fine steps, much like the layers your printer lays down anyway.
- Infill: 10 to 15 % is enough; two or three walls give the webs between the holes some strength.
- Material: PLA for most cases, PETG for cases that spend summer in a car.
- Two colors: give the top layer its own color, say red on black like workshop foam. The top millimeter then becomes a separate part; without a multi-material printer add a color change at the height the generator shows.
Origin and license
The geometry is a port of RatchetBox by eschlot (BSD-2-Clause): the rows with 1 mm gaps, the hole depth from length and lid height, the profiles of lying tools with their upward opening, the ratchet pocket, the split for small printers and the tool sizes of the presets. The typical socket sizes of the set presets come from this site’s own table, collected from the catalog data of common brands. The license text and all other sources are listed under licenses.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Case inside: width | 176 | – | Inner size of the case from left to right. The insert gets this wide. |
| Case inside: depth | 112 | – | Inner size from front to back. |
| Height to the lid | 34 | – | From the bottom of the case to the inside of the closed lid. Every tool sits 1 mm below it. |
| Insert height | 27 | – | Height of the block. What sticks out above it goes into the lid. |
| Edge rounding | 1 | – | Radius on every edge of the block, 0 = sharp. |
| Play for lying tools | 0.5 | – | Added to every diameter and length. The original uses 0.5 mm. |
| Play for upright sockets | 0.5 | – | Added to the measured outer diameter of every socket. |
| Hole rim rounding | 1 | – | A rounded opening so the socket slides in easily. |
| Label size in the hole floor | 5 | – | Size of the labels under the sockets, 0 = none. |
| Engraving depth | 2 | – | How deep the labels go into the hole floor. |
| Label under lying tools | 0 | – | 0 = automatic (diameter ÷ 2.5 as in the original). |
| Print bed | 180 | – | Edge length of your print bed. 180 mm on a Prusa MINI. |
| Piece | 0 | – | Which piece the download holds. |
Frequently asked questions
How do I measure a socket?
Take the largest outer diameter with calipers – on small sockets that is often the square drive end, not the hex end – and the overall length. The generator adds the play itself: 0.5 mm for upright sockets and 0.5 mm for lying tools, both adjustable.
My case is larger than the print bed. What now?
Leave “Split” on “Automatic”. When the insert is wider or deeper than your bed, it is cut into equal pieces. Under “Piece” you pick which one to download; in the case the pieces butt together and hold each other in place.
How do I describe a lying tool?
As a profile: pairs of position and diameter along its axis, for example “0:12 32:12 32.1:6.8 50.5:6.8” for a deep socket. Between two pairs the generator makes a cone. Bits, deep sockets, extensions, universal joints and two ratchets come as presets.
Why do the tools sit so high?
Every tool sits 1 mm below the lid, so nothing rattles when the case is closed. When a tool’s axis ends up below the top of the insert, the pocket opens straight up from the axis, so you can grab the tool and the print has no overhang.
Which infill and which material?
10 to 15 % infill is plenty; the insert carries almost no load. PLA works well; if the case spends summer in a car or a hot workshop, use PETG.
Can I print the insert in two colors?
Yes. Give the top layer a color of its own and the top millimeter becomes a separate part. Without a multi-material printer, add a color change at that height in your slicer; the generator tells you where.
Origin & license
- RatchetBox by eschlot · BSD-2-Clause · code ported – hole rows, lying tool profiles, ratchet pocket, splitting and the preset tool sizes ported