Designing snap-fits that survive 3D printing
A snap-fit is a small spring with a hook on the end. It works when the arm can bend far enough to clear the hook without overstraining the plastic, and when the layers are arranged so that bending does not pull them apart. Both are decided before you slice: one by a short formula, the other by how the part sits on the bed.
How a cantilever snap works
A cantilever snap has four parts: the root, where the arm joins the body; the arm, a beam that bends; the hook at its tip; and the undercut, the height the hook stands above the arm, which is how far the arm must deflect to pass the catch. The hook has two faces. The insertion face is the ramp the mating part slides over; the retention face is the back of the hook that holds the parts together.
The arm is loaded only while it passes the catch. Once the hook drops into place, a well-designed snap returns to its relaxed shape and carries little or no load. Two design consequences follow:
- The critical moment is assembly, when the arm reaches full deflection. The strain then must stay below what the material survives.
- The closed state should leave the arm straight. A snap that is still slightly bent when closed is a spring under constant load, and printed plastics creep.
The strain formula and what it tells you
For a straight arm of constant rectangular section, length L, thickness h (in the direction it bends) and undercut y, the strain at the root is:
ε = 1.5 × h × y ÷ L²
This is the classic equation from plastic snap-fit design and the one the snap-fit calculator uses. Rearranged, the largest undercut an arm can clear is y = ε × L² ÷ (1.5 × h). Three decision rules come straight out of it:
- Length is the strongest lever. Strain falls with the square of length. A PLA arm 10 mm long, 2 mm thick, with a 1 mm undercut sees 1.5 × 2 × 1 ÷ 100 = 3.0 % strain — well over PLA's limit. At 15 mm it drops to 1.33 %; at 20 mm to 0.75 %.
- Thinner arms strain less but push back much less. Strain is proportional to thickness, but the force needed to bend the arm is proportional to the thickness cubed. Halving the thickness halves the strain and leaves only an eighth of the stiffness, which can make a snap feel vague.
- The undercut is the cost. Every extra tenth of a millimetre of hook depth adds strain linearly. A deep hook rarely holds better than a shallow one with a steeper retention face.
Width does not appear in the strain at all; it only scales the force. If a snap is too weak to hold, make it wider before making it thicker.
An arm that thins towards the tip, for example to about half its root thickness, spreads the bending along its length instead of concentrating it at the root. The same peak strain then allows a noticeably deeper undercut. The straight-arm formula stays on the safe side for a tapered arm, so you can still use it as a check.
Allowable strain by material
The values below are the conservative printed-part figures the calculator works with. They are lower than datasheet values for moulded plastic because a printed arm is a bundle of welded lines with small voids between them, and it cracks at those voids first.
| Material | Modulus (printed, approx.) | Assembled once | Opened and closed often |
|---|---|---|---|
| PLA | 3,000 MPa | 2.0 % | 1.2 % |
| PETG | 2,000 MPa | 3.5 % | 2.2 % |
| ABS / ASA | 2,000 MPa | 3.0 % | 1.8 % |
| Nylon (PA) | 1,400 MPa | 6.0 % | 4.0 % |
| PC | 2,200 MPa | 4.0 % | 2.5 % |
A worked example with the calculator's default PETG arm: 15 mm long, 1.6 mm thick, 0.8 mm undercut gives 1.5 × 1.6 × 0.8 ÷ 225 = 0.85 % strain. The repeated-use limit of 2.2 % would allow an undercut of 0.022 × 225 ÷ 2.4 ≈ 2.1 mm, so this arm has plenty of reserve and could be shortened or thickened if it feels too soft.
Material notes that the numbers do not capture:
- PLA is stiff and accurate, so its snaps click crisply, but it breaks without warning. Use it for snaps that are assembled once or rarely.
- PETG and ABS turn white at the root before they crack. Stress whitening is a useful warning: the arm is being strained past its comfortable range.
- Nylon tolerates the most strain but is much softer when it has absorbed moisture, so the snap force changes with the weather. See conditioning nylon after printing.
- Fibre-filled filaments are stiffer and usually less tolerant of strain than their base plastic; treat them as more brittle, not stronger. The carbon fibre filament guide explains why.
- TPU bends without breaking but also releases without much force; it suits soft clips and bumpers rather than latches.
Hook geometry: undercut, angles and clearance
Insertion angle. The ramp angle sets how hard the parts are to push together. With a friction coefficient of 0.3, the assembly force is the arm's deflection force multiplied by (0.3 + tan α) ÷ (1 − 0.3 × tan α). At 30° that factor is about 1.06; at 45° it rises to about 1.86. Angles of 25–35° give a smooth push.
Retention angle. The same expression with the retention angle gives the force to pull the parts apart. At 60° the factor is about 4.2: a snap that needs 3 N to bend holds with roughly 13 N. As the angle approaches the point where 0.3 × tan β reaches 1, about 73°, the removal force grows without limit — the snap locks and has to be released by pushing the arm aside. Choose 45–60° for covers that are removed by pulling, 90° for parts that stay together, and design a slot or lip for a fingernail or screwdriver if a locked snap must ever open.
Root fillet. A sharp inside corner at the root concentrates stress far above the value the formula predicts. A fillet of about half the arm thickness is the cheapest improvement available. In a printed part the fillet must be modelled; the slicer will not add it.
Clearance. Leave 0.2–0.3 mm between the hook and its catch, and between the arm and the walls beside it, so the closed snap really is relaxed. These are the same easy-assembly gaps as in the tolerance table. A snap that binds against its slot also drags on the walls during assembly, which adds force the calculator does not know about.
Thickness in whole lines or layers. If the arm's thickness lies in the XY plane, make it a multiple of your line width so it prints as solid walls with no gap or thin infill strip in the middle. If it lies in Z, make it a whole number of layers. The wall settings guide covers how line width and wall count combine.
Print orientation: the rule that breaks most snaps
Bending stretches the arm along its length on one face and compresses it on the other. The stretched face is where cracks start, so the layers must run along the arm, not across it. That leaves two good orientations and one bad one:
- Arm lying flat, bending sideways in the XY plane. The hook profile is drawn by the nozzle as outlines, so the ramp and the retention face come out sharp and accurate. Thickness equals a number of lines. Usually the best choice.
- Arm lying flat, bending up and down. Also strong, but the hook is built from stacked layers, so the ramp is stepped and the retention face is a flat layer edge. Fine-tune the undercut in whole layers.
- Arm standing upright. Each layer boundary is a weak joint across the arm, and the root strain pulls it open. Upright arms crack at a fraction of the strain a flat arm survives.
The trap is the classic enclosure: a box printed upright with snap arms rising from its walls. Every arm stands upright. Ways out:
- Run the arm horizontally inside the wall. Cut a U-shaped slot so a horizontal tongue of wall flexes inward. Its layers run along it, and it prints without supports.
- Put the snaps on the part that prints flat, for example a lid printed upside down whose catches are horizontal hooks rather than vertical arms.
- Print the snap as a separate flat part and fix it with screws or glue; see gluing 3D prints.
- Make the arm very long and the undercut shallow, so the strain stays a small fraction of the limit. The latch tab of the hinged box generator uses this idea: a long tab that only moves a fraction of a millimetre.
For the general effect of orientation on strength, see orientation in the strength guide.
Fatigue, creep and repeated use
The repeated-use column in the table is roughly 60 % of the one-time value for a reason: every cycle grows tiny cracks at the voids between printed lines. Design for the lower column whenever a snap will be opened more than a handful of times, and add margin rather than designing right at the limit.
Creep matters for snaps that stay loaded. If the closed arm is still deflected by even a tenth of a millimetre, the plastic slowly relaxes and the snap loosens. PLA creeps noticeably in warm places and softens around 55–60 °C, so a PLA snap on a car dashboard or near a heater will not hold; the heat and sun guide lists better materials. If a snap must clamp something, let a separate spring element or a screw carry the clamping load.
Snaps that must be released often benefit from a design that limits over-bending: a stop wall behind the arm that it touches just after clearing the hook. Without it, a user prying the latch can bend it two or three times further than the design intended.
Testing a snap before the whole part
- Model only the snap: the arm, its root and a small block with the catch. Make three versions, for example at the calculated length and 20 % shorter and longer.
- Print them in the real orientation, material and wall settings of the final part. A test arm printed flat says nothing about an arm that will stand upright.
- Assemble and release each version 20–30 times. Watch for whitening, a crack at the root, or a hook that no longer clicks firmly.
- Pick the shortest version that survives without marks, and transfer exactly that geometry into the full model.
If a lid fits but does not need a latch, the friction-fit lid of the box generator is simpler than any snap. If a hinge is involved, compare snaps with print-in-place joints and thin flexible joints, which follow the same strain logic.
Frequently asked questions
How long should a snap-fit arm be?
Long enough that the strain stays under the material limit. Strain at the root is 1.5 × thickness × undercut ÷ length², so doubling the length cuts it to a quarter. As a quick check, a 1.6 mm thick PETG arm with a 0.8 mm undercut needs about 7.5 mm of length for one-time assembly and about 9.5 mm for repeated use; 15 mm leaves comfortable margin.
Can I make snap-fits in PLA?
Yes, for parts assembled once or a few times. PLA tolerates the least strain of the common filaments, so it needs long, thin arms and shallow hooks. For lids opened every day, PETG, ABS or nylon last much longer.
Why do my snap-fits break at the base of the arm?
The root carries the highest strain, and a sharp inside corner there multiplies it. If the arm stands upright on the bed, the bending also pulls layers apart exactly at that point. Add a fillet of about half the arm thickness, lengthen the arm, and print it so the layers run along it.
What retention angle makes a snap permanent?
With a friction coefficient around 0.3, a retention face steeper than about 73° cannot be pulled apart by pulling alone; the arm has to be pushed aside by hand. A 90° face is the usual permanent choice; 45–60° lets a firm pull release it.
How much clearance does a snap-fit need?
About 0.2–0.3 mm around the hook and the slot it enters, so print tolerances do not leave the arm bent when it is closed. A snap that stays slightly deflected after assembly creeps and loosens over time.