Alignment pins and pegs for split 3D prints
When you split a model into parts, the hardest part of assembly is getting each piece back in exactly the right place. Glue alone lets parts slide while it sets. Alignment pegs, pins and keys lock each joint into one position. This guide covers which type to use, how big to make them, how much clearance to leave, and how to print them so they don't snap.
Why bother with alignment features?
- Accurate alignment. Two flat faces can slide a millimeter or two before the glue grabs. On a large model those small errors add up into visible steps at every seam.
- Hands-free gluing. With pegs in place you can glue a joint, press it together and let go. The parts can't drift while the glue sets.
- Strength. Pegs carry sideways (shear) loads that would otherwise all fall on a thin layer of glue.
- Assembly order. Keyed shapes and labels make it obvious which part goes where, even weeks after printing.
Types of alignment features
| Type | How it works | Good for | Watch out for |
|---|---|---|---|
| Printed pegs | A peg on one face, a matching hole in the other. | Most joints. Nothing extra to buy or print. | Pegs printed standing upright can snap off at a layer line. |
| Separate pins or dowels | Holes in both faces, joined by a loose pin: a printed pin, a piece of filament, a wooden dowel or a metal rod. | Strong joints, and parts with no fragile parts sticking out. | Both holes must line up exactly. You need the pins on hand. |
| Square pegs | Like round pegs, but they can't turn. | Joints that only have room for one peg. | Corners need more clearance than a round peg. |
| Dovetails | A tapered tail slides into a matching slot. | Joints that must not pull apart. | They slide together sideways, so you need room to slide the part in. |
| Keyed or puzzle shapes | Asymmetric shapes that fit only one way, with a different shape at each joint. | Models with many similar-looking parts. | A larger footprint than a simple peg. |
| Pyramids and cones | Sloped sides guide the parts into place as you push them together. | Self-centering joints, and printing with few supports. | Less resistance to twisting than a pair of pegs. |
| Magnets | Pairs of magnets set into holes in each face. | Parts you want to take apart, like a helmet visor or a display base. | Getting the polarity right, and glue to hold the magnets in. |
How big should the pegs be?
Diameter
For most FDM parts, a peg of 4–6 mm is a good default. Go bigger (8–10 mm) for large, heavy parts, and smaller (2–3 mm) for small resin parts. A peg thinner than about 3 mm printed on a filament printer is easy to snap.
Depth
Aim for a depth of about 1.5 to 2 times the diameter: 8 mm suits a 5 mm peg. Deeper pegs align better, but the hole must stay inside the other part. If the part is thinner than the hole is deep, the hole breaks through the far side.
How many, and where
- Use at least two round pegs per joint. A single round peg still lets the parts rotate around it. Two pegs, a square peg or a keyed shape stop that.
- Spread them out. Pegs far apart resist twisting and rocking much better than pegs bunched in the middle.
- Keep them away from edges. Leave at least 2 mm of solid material around each hole. A hole that comes within a millimeter of the outer surface leaves a thin wall that cracks or bulges.
- Mind hollow parts. In a hollow or thin-walled part, a peg must sit inside the wall. Its diameter plus 2 mm on each side has to fit within the wall thickness, or the peg needs to go somewhere solid.
Clearance and tolerance
A printed peg and hole of exactly the same size won't fit. FDM prints come out slightly oversized on the outside and undersized on the inside. You need a gap between them, called clearance or tolerance.
Be clear about how a setting is measured. Some tools give clearance per side, others give the total difference in diameter. A total of 0.4 mm is 0.2 mm per side.
| Fit you want | Typical total clearance (FDM) |
|---|---|
| Snug, to hold while the glue sets | 0.2–0.3 mm |
| Easy push fit, glued | 0.3–0.5 mm |
| Loose, removable | 0.5 mm or more |
These are only starting points. Your printer, material, nozzle and settings change the result. Resin printers are generally more accurate and need less clearance.
Print a test pair first. Before you start a long print queue, print a small block with one peg and a block with one hole, using the same settings. If the fit is too tight, increase the clearance. If it's too loose, reduce it. It costs a few minutes and can save a lot of sanding.
Two things often make pegs fit too tight:
- Elephant's foot. The first layers spread out. If a face with holes is printed against the bed, those layers narrow the hole openings. Chamfer the hole edges, or turn on your slicer's elephant's foot compensation.
- Sideways holes droop. A hole whose axis lies parallel to the bed sags at the top. Add a little more clearance, or use a teardrop-shaped hole that prints without support.
Print pegs so they don't snap
FDM parts are weakest between layers. A peg that stands straight up from a part lying flat on the bed is built from stacked rings, and a sideways knock can shear it off at a layer line. Some ways to avoid that:
- Orient the part so the peg lies flat when you can. A peg printed sideways has its layers running along it and is much stronger. This may mean giving up the flat cut face as a base and printing with more supports.
- Use separate pins. Print pins lying flat, or use wooden dowels, short lengths of filament or metal rod, and put holes in both parts.
- Put the peg on the sturdier part. If one part is thin or delicate, give it the hole and give the larger part the peg.
- Use more walls. Three or four perimeters make pegs and the walls around holes much stronger.
Gluing pegged joints
Dry-fit every joint before you glue. Pegs that are a little tight can be eased with sandpaper or a drill bit by hand. Put glue on the faces and a little in the holes. Don't fill the holes, or trapped glue can stop the parts closing. Press the parts together and wipe off any squeeze-out. Super glue can grab before a tight peg is fully seated, so with a snug fit use a slower glue such as epoxy, or loosen the fit. Our guide to printing a model bigger than your printer has a table of glues for each material and covers filling seams.
How TooBig3D adds pegs
TooBig3D can add alignment features automatically after it splits a model. In Advanced mode, open the Assembly tab and expand Peg Settings:
- Type: Round Peg, Square Peg, Dovetail, Pyramid (low support), Puzzle Keys (a different key at each joint) or Custom STL (upload your own connector shape).
- Diameter and Depth: 5 mm and 8 mm by default. Pyramids use a Base Size (10 mm) instead of a diameter, and Puzzle Keys and Custom STL connectors hide the diameter.
- Tolerance: the gap between peg and hole. For round, square and dovetail pegs it is added to the hole's width, so the default 0.2 mm means 0.1 mm per side: a tight fit. Raise it if your test pair is snug. Puzzle keys and pyramids get a little more clearance from the same setting.
- Count: how many pegs to place at each joint (4 by default), for round, square and custom pegs. Dovetails, pyramids and puzzle keys use one per joint.
Click Add Pegs (Auto). TooBig3D finds every pair of parts whose cut faces meet and spreads the pegs out inside the material both parts share, keeping 2 mm of wall around each hole. It skips a joint that is too thin for the peg and its hole, and tells you how many joints it skipped, so you can try a smaller peg or glue those faces. For cuts that aren't flat, such as seam cuts, it places one peg in the middle of each joint and says so: check those before you print. Dovetails run the full width of each joint and slide together along the seam. Where a joint is too narrow for a dovetail, a round peg is used instead.
Turn on part labels in Label Settings too: raised, debossed or matching pairs on the cut faces, so you can tell which faces meet. Splitting and pegs work on any account. Free accounts download GLB; STL and 3MF export are included in paid plans.
Frequently asked questions
What tolerance should I use for 3D printed pegs?
Start with 0.2–0.3 mm of total clearance for a snug fit on an FDM printer, then adjust after printing a test pair. Check whether your tool's setting is per side or total.
Pegs or separate pins?
Printed pegs are quicker because there's nothing extra to make. Separate pins are stronger and leave no fragile parts sticking out, which helps for big or heavy joints and for parts that get handled before assembly.
Why won't my parts close all the way?
Usually a peg is too tight, the hole has glue or stringing in it, or there's elephant's foot at the peg's base. Dry-fit first, clear the holes, and sand or chamfer the peg tips.
Do I still need glue?
For display pieces, yes. Pegs line the parts up and add strength, but glue holds them together. For parts you want to take apart, use a looser fit or magnets.
Try it on your own model
Upload the model that won't fit, set your printer's build volume, and let TooBig3D plan the cuts, pegs and labels. It runs in your browser, with nothing to install. You can try it free; see pricing for what each plan includes.