Designing Lids That Open and Close: Screws, Snap Fits, and Living Hinges

You printed a living hinge and it snapped on the first fold. Lid design is the final gate of every box build, and the one with the most folklore attached. This article covers where to put the split line, the three types of mating face, how to choose between screws, snap fits, and hinges — and why the injection-molding numbers you find in design handbooks must not be carried into FDM printing unmodified.
Where to split the box
The split line determines two things at once: how easily you reach the board, and how clean your connector openings are. A cutout that straddles the split becomes two half-holes that must align; a cutout that sits entirely in one part stays a clean rectangle. The structural principle is to avoid cutting the load path — put the split where the box carries the least stress. The most common and most printable arrangement remains the simple tub-plus-lid: the tub prints open side up with no supports, and the lid prints flat.
The three mating-face types
Butt joint: the two faces simply touch. Trivial to model, but nothing locates the lid sideways. Lip and groove: a raised lip on one part enters a groove in the other — this is the workhorse, delivering about 80% of the benefit for half the effort. Stepped lap: a rabbeted overlap that blocks dust and light along a longer path, at the cost of more careful tolerancing. For the lip and groove, fix the lip dimensions and tune only the groove — that turns fitting into a one-dimensional search. Print a card-sized test strip with five lip-and-groove pairs stepped 0.1 mm apart, and thirty minutes later you know your number. A 45-degree lead-in on the groove entrance makes the lid self-locating.
Screws, snaps, or hinges — decide by opening frequency
Screws are the default for boxes opened rarely: four at the corners are enough for most enclosures, and six or eight only add disassembly time. Follow the boss rules — one hole-diameter of wall around each hole, inserts if the box will be opened repeatedly. Snap fits suit boxes opened occasionally with no visible hardware: long arms, root fillets, insertion taper, and a retention angle, with the enclosure-specific caveats that the arm needs room to flex inside the box, the mating edge needs a catch surface, and print orientation decides the arm’s lifespan.
Why molding numbers break in FDM: the living hinge
Injection-molding handbooks give precise living-hinge numbers: a hinge web of 0.012 in (about 0.30 mm), a land of about 0.060 in (1.52 mm), a 0.008 in (0.20 mm) recess on the folding side, and a 0.030 in (0.76 mm) radius on the strained side. Those values work because molten polymer flowing through the thin hinge section aligns its molecules across the fold — the hinge is strong for a reason that only exists in molding. An FDM printer laying a 0.3 mm film of PLA gives you no molecular alignment at all: you get not a hinge but simply a weak spot.
The anisotropy shows up clearly in material data. Polymaker’s data sheet for PolyLite PETG lists elongation at break of 8.4 ± 1.7% in the X-Y direction but only 3.3 ± 0.2% in Z. A part that must flex lives or dies by print orientation: lay the hinge so the fold works along the layer lines, use a flexible material (PETG at minimum, TPU ideally), make the web thicker than the molding tables say, and tune the final thickness with a 0.1 mm-step test strip like everything else.
About waterproofing claims
IP ratings are the result of testing under IEC 60529 — they cannot be inferred from geometry. A printed box with a nice lip seal may in fact resist splashes, but calling it “IP65 equivalent” is an unsupported claim. If outdoor certainty matters, put the electronics in a commercial rated case and let the 3D printed part be the internal carrier. That division plays to each side’s strengths.
Summary — choose the lid by the hours after it closes
Mating faces come in three types — butt, lip and groove, stepped lap — with lip and groove as the default. Fix the male side, tune the female side in 0.1 mm steps. Fasten by opening frequency: screws for rarely, snaps for occasionally, hinges only with orientation-aware design. The molding numbers (0.30 mm webs, 0.76 mm radii) assume molecular orientation FDM does not have, and PETG’s 8.4% versus 3.3% elongation split between X-Y and Z is the proof. Print a test strip before the lid, and the lid closes on the first try.





