Thirty proven building blocks for printed parts. Each pattern has a diagram, the parameters that matter (in mm, for a 0.4 mm nozzle and 0.2 mm layers), a typical use and a pointer to the rules behind it. Combine them instead of designing every part from a blank sheet.
Intermediateβ± 45 min read
What you will learn
How to recognize a recurring design problem (a lid, a clip, a hinge, a gear) and apply a tested pattern with starting dimensions. Every number is a starting value: adjust it with your own tolerance coupon and keep the patterns in a parametric model (see Parametric CAD workflow).
π° How to use this catalog
A design pattern is a solution that works repeatedly: a way to hold a lid, mount a bearing or split a big part. Experienced designers keep a library of them. A pattern is never copied blindly; you take the topology (the idea) and then set the parameters for your material, printer and load. The cards below are grouped by problem: housings, holders and mounts, mechanisms, structure and connections, and workflows. For the alternatives to each mechanism (seven kinds of hinge, nine latches, ten mounts and more), see the Mechanism catalog.
All dimensions assume a 0.4 mm nozzle, 0.2 mm layers and an accurate printer such as the X2D. The shared defaults are listed once here, so the cards stay short.
When two patterns conflict (a thin snap arm next to a thick wall), solve the load path first, then the printing constraint, then the look. The strength and orientation page tells you which way to lay the part.
π° Housings and lids
1 Β· Snap-lid enclosure
Figure 1. Lid with an inner lip and two snap bumps.
Use: sensor boxes, remote cases, anything opened rarely.
Lip height 3β4 mm, lip wall 1.2 mm, gap 0.2β0.3 mm per side
Snap bump 0.4β0.6 mm high, 45Β° lead-in, 20β30Β° return
Figure 11. A repeating pitch lets bins of different sizes share a baseplate.
Use: workshop drawers, electronics parts, desk organizers. The idea (a baseplate on a fixed pitch with chamfered, stackable feet) is public and used by several open systems; design your own dimensions or follow the specification of a system you want compatibility with.
Choose one pitch and make every size a multiple of it, minus 0.5 mm total clearance
Foot chamfer 45Β° (printable), height 4β5 mm
Print floors on the bed face with 3β4 walls; add a finger scoop radius β₯ 8 mm
12 Β· Drawer rails
Figure 12. A 45Β° dovetail rail keeps the drawer from tilting.
Use: small parts drawers, sliding lids, battery covers.
Flanks 45Β° so nothing needs support; width 8β12 mm, height 5 mm
Clearance 0.3 mm per side; add a 0.4 mm detent to stop the drawer
Run the slide axis along a printed line direction and wax or dry-lube the rail
Figure 13. A recess with a thin lip holds a label, tile or color inlay.
Use: bins, drawers, control panels.
Embossed text: height 0.6β1 mm, stroke β₯ 0.8 mm, font size β₯ 6 mm
Color inlay: change filament at the layer where the recess starts (see multi-color)
A slide-in label gap = label thickness + 0.3 mm
π Mechanisms
Moving parts multiply every tolerance error, so mechanisms use the biggest clearances in the catalog. Test each one on a small coupon before printing the full assembly.
14 Β· Spring and flexure
Figure 14. A zig-zag spring and a thin-neck flexure.
Use: latches, buttons, detents, return springs.
Print so the bend is in the XY plane (layers along the beam)
Neck 0.8β1.2 mm thick, length β₯ 6Γ thickness; radius 2 mm at the ends
Strain β€ 1 % in PETG, β€ 0.4 % in PLA: see snap-fit math
Figure 29. Tilt the figure slightly to avoid large flat undersides.
Use: game pieces, dioramas, 28β32 mm figures.
Layer height 0.08β0.12 mm; a 0.2 mm nozzle resolves 0.4 mm details
Minimum solid feature 0.6 mm (e.g. a sword), best 1 mm; thin parts bend, thick parts hold paint
Tilt 15β45Β° and use tree supports that touch only the base
Print slowly (30β40 mm/s) with cooling at 100 %
30 Β· Outdoor functional print
Figure 30. Water runs off, UV is shaded, trapped water has an exit.
Use: garden sensors, camera housings, hooks, drainage fittings.
Material: ASA (best), PETG, PC; not PLA (softens at 55β60 Β°C in a parked car)
Slope surfaces β₯ 10Β° so water does not pool; drip edge β₯ 3 mm; drain holes 3 mm at the lowest point
Walls 2.4 mm (6 lines) to survive freezeβthaw; dark colors get hotter
Use stainless hardware with a heat-set insert, never a bare thread
π§ Orientation and material per pattern
The same shape fails differently depending on how it lies on the bed and what it is made of. Use this table as the first guess, then confirm with the strength and orientation rules. A pattern with the wrong orientation can lose half its strength even if every dimension is perfect.
Pattern
Print orientation
Material
Why
Snap lid (1)
Lid flat, bumps on the wall facing sideways
PETG, ABS, ASA
Snap arms need strain 1β2 %, PLA reaches 0.4 % when repeated
Screw enclosure (2)
Open side up
Any; inserts in PLA
Bosses grow along Z with horizontal rings
Hinge box (4)
Hinge axis horizontal, box upright
PETG
Layers run around the pin
Cable clip (6)
On its side, C in the XY plane
PETG, ABS
Bending along the layers
Phone stand (8)
On its side
PLA, PETG
Bending load follows lines
Flexure (14)
Flat, bend in XY
PETG, TPU 95A, nylon
Z-bending delaminates
Gears (16, 18)
Flat on the bed
PETG, nylon, POM-like
Teeth are strongest along the layer
Bracket (22)
L on its side
PETG, PA-CF
Layers run through both legs
Jig (24)
Datum face down
PLA, PETG, PLA-CF
Datum faces are accurate against the bed
Outdoor housing (30)
Open side up, lid flat
ASA, PC
UV and heat resistance
π§ Parameters worth exposing
Before modeling a pattern, list the parameters that change between uses. Everything else should be a derived value (calculated from them) so that one change never breaks another. A short list keeps the model simple:
Interface parameters (set by the outside world): screw size, magnet diameter, board dimensions, tool diameters, cable diameter, bed size.
Printer parameters: line width (0.42 mm), layer height (0.2 mm), clearance per fit class (0.1, 0.2, 0.3, 0.4 mm), minimum wall.
Material parameters: shrinkage correction and allowable strain for snaps (e.g. PETG 1 %).
Style parameters: fillet radius, chamfer size, wall thickness, text height.
The first group changes by project, the second by printer, the third by filament and the fourth by taste. Keeping them apart in the model's header is what makes a pattern reusable: you copy it into the next project and fix only the first group. The complete method, including a sample OpenSCAD file, is in Parametric CAD workflow.
Trick: derive, don't type
If a lid lip needs to fit a box inner wall, write lip_outer = inner β 2 Γ clearance instead of a second hand-typed number. When you change the box, the lid follows. Hand-typed duplicates are the biggest source of mismatched parts.
π Testing a pattern before you commit
Every pattern in this page has one critical interface. Instead of printing the whole object, print only that interface as a test slice and measure it. A snap lid is checked with a 20 mm length of wall; a thread with a 12 mm tall ring; a hinge with two knuckles; a gear mesh with two gears of 10 mm face width. The slices cost minutes, the full part may cost hours.
Choose the one feature that decides success (the clearance, the strain, the thread engagement).
Print three variants at once, for example clearances 0.2, 0.3 and 0.4 mm, labeled with embossed numbers.
Fit-check by hand: does it assemble, move without play and hold the load you expect?
Pick the winner, write the value in the parameter table together with filament, printer and nozzle.
Print the full part and record any difference so the next version starts from facts.
Why one set of parameters is not enough
Clearances change with filament (PLA +0.15, PETG +0.2, ABS β0.05 relative), nozzle, speed and even humidity. Keep a short table for each filament you use regularly. See designing parameters in CAD.
π§ Assembly order and tolerances
Patterns combine, and so do their tolerances. A box with a screw lid, an inner tray and a drawer stacks the errors of all parts: if each has Β±0.15 mm, the stack can reach Β±0.45 mm. Fix this by choosing one reference face per assembly, designing fits at the end of the chain, and adding slotted holes or oversize clearances for the last component to be fitted. The rules of tolerance stack-up are in Tolerances & fits. Plan the assembly order too: a captive nut must be inserted before the lid is closed, a pin before the hinge knuckle's second half and a magnet before the cover plate; otherwise the part cannot be built and no tolerance fixes it. Draw an exploded view and number the parts in the order they are fitted.
Tip
Add a visible alignment mark (a small triangle, 0.6 mm raised) on parts that fit only one way. It prevents wrong assembly and takes two minutes to add.
π° Choosing a pattern
Ask three questions: what moves, what is loaded, how often is it opened. The table links each need to a pattern and to the rule page with the maths.
A weatherproof sensor box for a garden uses at least five patterns. The housing is a screw-lid enclosure (2) with a gasketed lid, in ASA (30). The board sits on standoffs (3) with vent slots that face down and are covered by a drip edge. The box hangs on a wall by a keyhole slot (9) on the back. The cable leaves through a clip-style grommet (6). Its lid screws use heat-set inserts. At each junction the rules from Joints & fasteners apply: fillets β₯ 1 mm, bosses with ribs, and walls of 2.4 mm. Writing the box as one parametric model (inner size, wall, screw size, clearance) means a bigger board needs one number change, not a redesign.
Figure 31. A quick decision flow: what moves, what is loaded and how often it is opened decide the pattern; the checklist keeps it printable.
β οΈ Anti-patterns to avoid
Do
Reuse a tested pattern and change parameters
Print a test slice of every fit
Fillet inside corners, chamfer bottom edges
Put metal where the load is (inserts, pins, rods)
Record dimensions in a parameter table
Don't
Make a snap-fit in PLA that has to open 100 times
Put a thread axis horizontal and expect it to last
Print a bearing for a real load
Copy a pattern at a different scale without recalculating the strain
Mix tolerances: one clearance for all fits
Safety
Printed parts must not be the only thing preventing injury: locks, climbing gear, pressure vessels, mains-electrical insulation and child-safety items need certified products. Use patterns here for convenience and hobby parts, and keep mains voltage in certified enclosures.
Key takeaways
A pattern is a topology plus parameters: copy the idea, then set the numbers for your printer, material and load.
Housings: 1.6 mm walls, 0.2β0.3 mm lid clearance, bosses with ribs and fillets.
Mechanisms need 0.3β0.5 mm clearances, tough materials (PETG, nylon) and a test coupon before the full print.
Structure: layers along the load, gussets β₯ 50 % of wall thickness, fillets β₯ 3 mm.
Workflows beat geometry: measure, model parametrically, print a test slice, then the final part.