BuildCAD AI

Snap-fit joints for 3D printing

A cantilever snap fit works when the arm bends far enough to clear the hook without going past what the printed plastic can take. Most snap-fit calculators are made for injection molding; this one uses FDM limits for PLA, PETG and ABS, and halves them when the arm stands along Z, where layer lines crack first.

  • Free, no account to download
  • STL, 3MF and STEP
  • Motion checked for collisions

Cantilever snap-fit calculator for FDM

Arm printed

Strain at the root of the arm

0.63%

Under the 2% limit for PLA printed flat (31% of it).

Shortest arm for this hook: 6.7 mm. Highest hook on this arm: 1.28 mm.

strain = 1.5 x t x y / L²

Generate the snap-fit joint

Parameters

Loading the sliders...

Ask the designer to change it

Sliders and downloads are free. The AI designer uses credits; new accounts start with free ones.

Pick the filament and set the arm length, thickness and width, the hook depth (0 picks one at 60% of the limit), the lead-in angle and the clearance. The generator builds a snap tester, a plug with two arms and a socket with a window for each hook, gives the strain against the limit for the way the arm lies on the print plate, and pushes the plug home on our CAD engine to check the path is clear. Download STL, 3MF or STEP to test it on your printer.

The four types of snap-fit joint

Cantilever snaps are the most forgiving with layer lines, which is why the calculator above and the generator use them.
TypeHow it holdsFor 3D printing
CantileverAn arm with a hook bends as the parts go together and springs back into a window or over a ledgeThe best choice: easy to size, prints flat, this generator makes it
U-shaped cantileverA longer arm folded back on itself, so it fits a short space with less strainGood in PLA when a straight arm would be over the limit; needs room behind it
AnnularA ring or lip that snaps over a groove all the way round (pen caps, bottle lids)Hard in FDM: the whole ring must stretch; use thin walls, PETG or TPU
TorsionalA hook on a bar that twists; you press the other end to releaseFor latches you open often; print the bar flat

How to calculate a cantilever snap fit

A cantilever snap fit is an arm with a hook at its end. Pushing the lid on bends the arm by the hook height; when the hook reaches its window, the arm springs back and holds. The design works if the strain at the root of the arm stays under what the filament can take.

strain = 1.5 x t x y / L²t = arm thickness, y = hook height, L = arm length

Example: an arm 12 mm long and 1.5 mm thick with a 0.38 mm hook: 1.5 x 1.5 x 0.38 / 144 = 0.59%. That is well under the 2% limit for PLA printed flat, and just over half the 1% limit if the same arm stood along Z.

Limits the calculator checks against. They sit below each filament's yield strain, as for molded snap fits; repeated use calls for less.
MaterialStrain limit, arm printed flatArm along Z (layers across the bend)Notes
PLA2%1%Stiff and brittle: keep repeated snaps well under the limit
PETG3%1.5%The usual choice for enclosures that open often
ABS / ASA3%1.5%Similar to PETG, better heat resistance
TPUno limit checkedno limit checkedFlexible: the hook holds by friction more than by strain

Design rules that keep arms from cracking

  • Make the arm longer before you make it thinner: strain falls with the square of the length.
  • Round the root with a fillet of at least half the arm thickness (never under about 0.4 mm).
  • Keep the arm at least 5 mm wide, and print it lying in the XY plane.
  • Give the hook a 30 degree lead-in so it slides on, and a square back face so it holds.
  • Leave about 0.3 mm of clearance around the latch so the hook drops in freely.
Clearance per side (radial), 0.4 mm nozzle, 0.2 mm layers, PLA or PETG. Print the tolerance test to replace the defaults with your printer's numbers.
FeatureStart withRangeNotes
Clearance around a snap latch0.3 mm0.2 to 0.5So the hook drops into its window freely
Sliding fit (drawer, lid, dovetail)0.25 mm per side0.20 to 0.35; large parts 0.4+Friction rises sharply below 0.2 mm
First layer (elephant foot)0.5 mm x 45 deg chamfer0.3 to 1.0 mmOn the bottom edges of both mating parts; never start a moving gap on layer 1
Living hingePETG or PP, 0.6 mm (3 layers)0.4 to 1.0; TPU 0.8 to 2.0Print flat; PLA lasts about 160 folds, PETG about 860

What the insertion check does

Besides the strain, the plug is slid into the socket on our CAD engine with the arms bent out of the way, and the parts are checked for collisions along the whole path. If a hook would hit the socket when closed (a missing window, for example), the check says so.

FAQ

Questions about the snap-fit generator

How do you calculate a cantilever snap fit?

For a straight arm of constant thickness, the strain at the root is strain = 1.5 x t x y / L squared, where t is the arm thickness, y the hook height (how far the arm bends) and L the arm length. A 12 mm arm, 1.5 mm thick, with a 0.38 mm hook gives 1.5 x 1.5 x 0.38 / 144 = 0.59%.

What strain can PLA and PETG take in a snap fit?

This calculator uses 2% for PLA and 3% for PETG and ABS/ASA when the arm prints flat, and half that when the arm stands along Z, because layer lines crack first. For a snap that is opened often, stay well under the limit. TPU is flexible enough that strain is not the limit.

Which way should I print a snap-fit arm?

Lying flat, so the arm bends across the layers in the XY plane. An arm printed standing up bends along the layer lines and breaks at about half the strain.

How do I make a snap fit stronger without breaking it?

Make the arm longer before making it thinner: strain falls with the square of the length. Add a root fillet of at least half the arm thickness, keep the hook height small, and leave about 0.3 mm of clearance around the latch.

What are the types of snap-fit joints?

Cantilever (an arm with a hook, the most common and the easiest to print), U-shaped cantilever (a longer arm folded back, for tight spaces or brittle materials), annular (a ring that snaps over a lip, as on pen caps) and torsional (a hook on a twisting bar, for latches you press to release). On FDM printers the cantilever is the safest choice.

Is the snap-fit calculator free?

Yes. The calculation, the 3D preview and the STL, 3MF and STEP downloads are free and need no account.