Rugged tool case with toggle latches: design and print
A rugged box you print yourself
This generator makes a rugged box: a hard-wearing tool case that you print in four plates and screw together. The case rim carries a ridge with a groove for a flexible seal, the lid a matching pusher, screwed hinges run along the back and toggle latches along the front pull the lid down and click shut. You set the inside size, the height of case and lid, the number of hinges and latches and whether the box has a seal. Ready-made cases from a small parts case to a long bit case are in the example gallery. The default tool case is 120 × 80 × 50 mm inside; or open the generator right away.
Status: designed and sliced, not test-printed
Please read this before you print anything big:
- Nobody has printed a case yet. The geometry was checked against the original design, and every print plate was sliced, but no printed box has been closed, latched or dropped.
- Case, lid and seal match the OpenSCAD original in 8 test designs: volume within 0.25 % and size within 0.03 mm. For that test our gussets were put into the original and the bottom chamfer was set to 0, because those two parts are different on purpose (see “Origin and license”). A second test swings the latch lever from closed to fully open and checks that it stays as free as in the original. The hinge links and side plates have no volume comparison of their own.
- The latch force is untested. How firmly a printed latch holds, how much “Latch tension” is right for your printer and how the seal behaves under pressure can only be found out by printing.
- The lid needs supports under its two latch hooks. That is also true of the original. Everything else prints without.
So start small, and expect to adjust a hole size or the latch tension.
How the generator works
The generator runs in your browser. Nothing is uploaded, and your design lives in the link that “Share” gives you. In the 3D view you see the closed box with hinges and latches in place. The field “Show” switches between that preview and the four print plates: “Case”, “Lid”, “Hinges and latches” and “Seal (TPU)”. Each plate downloads as STL or 3MF. The preview is the whole assembly, for looking only.
The design is a port of a CC0 OpenSCAD model with a well-tuned toggle latch (see “Origin and license”). The sizes of mounts, hinges and latch are the original’s; we added print-friendly details and the plates.
What you need
Besides filament you need M3 screws and a hex key or screwdriver to match them. The screws cut their own thread into the plastic, so no nuts are needed. The editor shows the list for your settings under “Latches”. For the default case it is:
| Where | Screws |
|---|---|
| 2 hinges | 4 × 20 mm |
| 2 latches, long | 4 × 25 mm |
| 2 latches, short | 2 × 16 mm |
For the seal you need a little TPU, a flexible filament. Case, lid and hardware print fine in PLA or PETG. The seal is a flat ring of 1.6 mm width and 0.8 mm height,
Size: case, lid and height
The “Size” group holds the inside measurements. All of them are the room inside, the walls come on top.
- “Inside width”: 30–165 mm, default 120 mm. The long side with the latches.
- “Inside depth”: 30–140 mm, default 80 mm, from the front (latches) to the back (hinges).
- “Case inside height”: 35–120 mm, default 50 mm. If the case is too low for the lever, it is raised and you get a warning. With the default 16 mm lever, 35 mm is the lowest case; a 24 mm lever lifts a 35 mm case to 43 mm.
- “Lid inside height”: 16–50 mm, default 20 mm. It adds to the case height when the box is closed. The hinge mounts need some room, so a very flat lid is raised, again with a warning.
- “Inside corner radius”: 0.5–10 mm, default 2 mm. The outside adds the wall thickness.
Under the sliders the editor shows the closed outside size without hinges and latches. For the default case that is 124 × 84 × 73.2 mm. With hinges, latches and the seal ridge the closed box measures 127.2 × 104.7 × 73.2 mm. The small parts case goes down to 80 × 60 × 35 mm inside with a single latch, the tall case up to 100 mm inside height.
Walls, chamfer and seal
The “Walls and seal” group sets the thickness of the plastic:
- “Seal”: on by default. It adds a ridge with a groove to the case and a matching pusher to the lid. Turn it off and case and lid meet with a plain rim, as in the case without a seal. Then there is no TPU ring to print.
- “Wall thickness”: 1.6–3.2 mm, default 2 mm. With the default wall the seal ridge sticks out 1.6 mm on every side.
- “Floor thickness”: 1.2–4 mm, default 1.6 mm, also the top of the lid.
- “Bottom chamfer”: 0–4 mm, default 2 mm. It bevels the bottom edge of case and lid, the side that lies on the print bed, and 0 turns it off.
Thicker walls make a stiffer case, as in the large field case with 2.4 mm walls; its strength is untested.
Hinges
The “Hinges” group sets the back of the box. Each hinge is a printed link between a mount on the case and one on the lid, held by two M3 screws.
- “Hinges”: 1–4, default 2. A single hinge sits in the middle. If they do not all fit along the back wall, fewer are used and you get a warning.
- “Hinge screw length”: 16–30 mm, default 20 mm. The screw sets the width of the hinge: a 20 mm screw gives a link 13.8 mm wide.
- “Hinge distance from corner”: 4–60 mm, default 12.5 mm. The distance from the outer mounts to the corner; a single hinge ignores it.
Long cases get a third hinge, as in the long case for bits and pens.
Latches
The “Latches” group sets the toggle latches at the front. A latch has a lever, two side plates and three screws: two long ones and one short one. The lever swings over its center, so it pulls the lid down when you close it and holds there until you pull it open.
- “Latches”: 1–4, default 2, a single latch in the middle.
- “Latch screw length”: 20–35 mm, default 25 mm. This sets the width of the latch, here about 19 mm for the lever.
- “Latch distance from corner”: 2–60 mm, default 10 mm, not used with a single latch.
- “Short screw head height”: 1.5–4 mm, default 3.2 mm. Use 3.2 mm for socket head screws and 1.8 mm for button heads, as in the case for button head screws. The length of the short screw follows from it.
- “Lever length”: 10–24 mm, default 16 mm. A longer lever is easier to grab and needs a taller case.
- “Latch tension”: 0–0.8 mm, default 0.3 mm. It makes the side plates that much shorter than the screw distance. More pulls the lid down harder and makes the latch click more; if the latch will not close, reduce it.
Below the fields the editor lists the M3 screws for your settings. The original calls the three screws of a latch lid screw, case screw and hinge screw and has no step-by-step guide. Look at the closed preview to see where each part sits.
Screw holes
Two values in the “Screw holes” group tune the fit to your printer:
- “Free hole”: 3–3.8 mm, default 3.3 mm. It is the hole for screws that a part turns on: hinge links, levers and lid hooks. Make it larger if parts bind.
- “Tap hole”: 2.4–3.2 mm, default 2.8 mm. The M3 screw cuts its thread here, in the mounts on case and lid and in the side plates. Smaller holds tighter, but too small can split a thin wall.
Printing the plates
Each plate is built to lie on the bed without supports, apart from the lid hooks:
- Case: floor down, the seal ridge and the mounts up. The lock mounts have 45° gussets and the horizontal holes teardrop roofs, so nothing hangs over.
- Lid: top down, rim and seal pusher up. The two latch hooks hang over the exit path of their screw and need supports from the bed. The generator shows a note: switch on supports from the build plate only.
- Hinges and latches: hinge links flat, side plates flat and the levers standing on a 0.8 mm foot at their end. Standing up they print without supports.
- Seal: a flat ring for TPU, printed on its own.
The slices used a layer height of 0.2 mm. PLA or PETG are reasonable for the rigid plates and TPU for the seal, which prints best slowly.
The numbers come from PrusaSlicer for the Prusa MINI, 0.20 mm SPEED profile, Prusament PLA. The seal was sliced with the same PLA profile, so its time is only a guess for TPU, which prints slower.
| Plate | Filament | Time |
|---|---|---|
| Case, default | 74.21 g | 2 h 0 min |
| Lid, default | 43.21 g, plus 0.94 g of supports | 1 h 15 min |
| Hinges, levers and side plates | 11.22 g | 56 min |
| TPU seal | 0.64 g | 1 min (PLA profile) |
| Hinge parts for 3 hinges | 12.57 g | 1 h 2 min |
The default case in all four plates is therefore about 130 g and a little over four hours. Only these plates were sliced; the closed previews are assemblies and have no print numbers. Real times depend on your printer.
Colors
The generator has one color slot, “Box”. It colors the preview and the 3MF, and it does not split the parts. If you want hinges and latches in a contrasting color, print that plate in another filament; the plates are separate anyway.
What goes inside
With the right inside size a case can hold Gridfinity bins from the Gridfinity bin generator. One cell is 42 mm minus 0.5 mm of clearance, so an inside size of 126 × 84 mm takes 3 × 2 cells (125.5 × 83.5 mm), and 126 × 126 mm takes 3 × 3. The default 50 mm inside height leaves room for a six-unit bin with its lip, by calculation. By the Gridfinity standard the bins have outer corners of about 3.75 mm radius, so keep the “Inside corner radius” at the default 2 mm or a little more, not at the 6 mm of the electronics case. None of this is tested with printed parts.
Origin and license
The case is based on Parametric Rugged Case with toggle latch by DavidvtWout, rugged-case-with-toggle-latch on GitHub, published under CC0 1.0 (public domain dedication). The case, lid, seal, hinge mounts and links, and the toggle latch are ported from its OpenSCAD files and checked against them. We changed these things for printing: the lock mounts of the case have a 45° gusset instead of a flat underside that needed supports, the lever is relieved to match and stands on a small foot when printed, horizontal screw holes have teardrop roofs, the bottom chamfer is a flatter 0.5 mm per mm instead of 45°, and the seal ridge flares at 50° instead of 47°. The print plates, the closed preview and the screw list are new. All sources and licenses of the project are on the licenses page.
Ready to start? Open the generator or browse the examples. For a small hinged box that prints in one piece, take the Hinged box generator; for a hook latch on a box or door you already own, the Box latch.
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 |
|---|---|---|---|
| Size | |||
| Inside width | 120 mm | 30 – 165 mm | Inside size from left to right (the long side with the latches), for case and lid. |
| Inside depth | 80 mm | 30 – 140 mm | Inside size from the front (latches) to the back (hinges). |
| Case inside height | 50 mm | 35 – 120 mm | Height from the floor to the rim. A case that is too low is raised so the closed latch levers do not reach below the floor. |
| Lid inside height | 20 mm | 16 – 50 mm | Inside height of the lid; it adds to the case height when the box is closed. Raised if the hinge mounts need more room. |
| Inside corner radius | 2 mm | 0.5 – 10 mm | Rounding of the vertical inside edges; the outside adds the wall thickness. |
| Walls and seal | |||
| Wall thickness | 2 mm | 1.6 – 3.2 mm | Side walls of case and lid. |
| Floor thickness | 1.6 mm | 1.2 – 4 mm | Floor of the case and top of the lid. |
| Bottom chamfer | 2 mm | 0 – 4 mm | Height of the chamfer along the bottom edge of case and lid (the side on the print bed), 0 = none. |
| Hinges | |||
| Hinges | 2 | 1 – 4 | Number of screwed hinges at the back; if they do not all fit, fewer are used. |
| Hinge screw length | 20 mm | 16 – 30 mm | Length of the M3 screws through the hinges; sets how wide each hinge is. |
| Hinge distance from corner | 12.5 mm | 4 – 60 mm | Distance from the outer hinge mounts to the corner (a single hinge sits in the middle). |
| Latches | |||
| Latches | 2 | 1 – 4 | Number of toggle latches at the front; a single latch sits in the middle. |
| Latch screw length | 25 mm | 20 – 35 mm | Length of the two long M3 screws of each latch; sets the latch width. The short screw is in the list below. |
| Latch distance from corner | 10 mm | 2 – 60 mm | Distance from the latches to the corner (not used with a single latch). |
| Short screw head height | 3.2 mm | 1.5 – 4 mm | Head height of the short latch screw: 3.2 mm for socket heads, 1.8 mm for button heads. |
| Lever length | 16 mm | 10 – 24 mm | Length of the latch lever below its pivot; a longer lever is easier to grab but needs a taller case. |
| Latch tension | 0.3 mm | 0 – 0.8 mm | How much shorter the side plates are than the screw distance: more pulls the lid down harder and makes the latch click more. |
| Screw holes | |||
| Free hole | 3.3 mm | 3 – 3.8 mm | Hole for screws the part turns on (hinge links, levers, lid hooks). Make it larger if the parts bind. |
| Tap hole | 2.8 mm | 2.4 – 3.2 mm | Hole the M3 screws cut their thread into (mounts on case and lid, side plates). |
Frequently asked questions
Has the case been test-printed?
No. The geometry was checked against the OpenSCAD original and every plate was sliced, but nobody has held a printed case yet. Print a small one first, such as the 80 × 60 mm parts case, before you commit 130 g of filament to a large one.
Do I need supports?
Only for the lid, and only under its two latch hooks: in PrusaSlicer that is about 0.9 g. Case, hinges and latch parts, and the seal slice without any auto-generated supports. The levers stand on a small foot, so they print without supports too.
What do I need besides filament?
M3 screws. The default case takes four 20 mm screws for two hinges, four 25 mm and two 16 mm screws for two latches. The editor lists the screws for your settings. Without a seal you need nothing else; with one you also need a little TPU.
Is the seal watertight?
We do not know. The seal is a thin TPU ring that sits in a groove in the case rim, pressed down by a matching pusher on the lid. Nobody has tested how dust-tight or water-tight a printed case is, so do not trust it with anything that must stay dry.
How large can the case be?
Up to 165 mm inside width and 140 mm inside depth, and up to 120 mm inside height. The biggest plate stays below 180 mm. With the default settings, hinges and latches add roughly 17 mm to the depth of the closed box.
Can I print it in several colors?
The generator has one color, “Box”, for the whole preview and the download. Print the plates in whatever filament you like, for example a different color for the hinges and latches, and the seal in TPU.
Origin & license
- rugged-case-with-toggle-latch by DavidvtWout · CC0 1.0 · code ported – case, lid, seal, screwed hinges and toggle latch ported and adapted for printing (gussets under the latch mounts, lever relieved to match, teardrop holes, flatter chamfer); print plates added