- Home
- Help centre
- MS 3D Lab
- Holes, screws and threads
Add panel · Holes, Screws and threads
Holes, screws and threads
Ready-made holes sized from the screw tables: pick the screw, and the hole, the head recess and the fit gap are right. Metric and inch sizes, inserts, printed bolts and threads.
- Where
- Add panel → Holes, and Screws and threads
- Sizes
- M2 to M30, #4 to 1"
- Fit gap
- 0, 0.10, 0.15, 0.25 or 0.35 mm
- Cuts when
- Grouped with the part (Ctrl+G)
In short
Click Screw hole under Screws and threads, pick the Screw size and the Head under Settings, and type the Length (the thickness of the part). Move it into the part, select both and press Ctrl+G: the hole and its head recess are cut.
The width follows the screw size, so it always matches the screw. The Fit gap adds room on each side.
Put a screw hole in a part

- Screws and threads in the Add panel, under Holes.
- Screw hole.
- The screw hole in the plate: grey and see-through until you group.
- Fit gap: the room on each side.
- Settings: Screw size and Head.
- Length under Size: the thickness of the part.
- Click Screw hole (or Countersunk hole for flat-head screws).
- Under Settings, pick the Screw size and the Head.
- Type the Length: the thickness of the part where the screw goes through. The head end is at the top.
- Put it in place: type X and Y under Position, and Lift to the bottom of the part (0 on the plate). The head recess then opens in the top face.
- Click the part, Shift+click the hole, and press Ctrl+G.
W and D are locked: they follow the screw size. To have the head in the bottom face instead, type 180 in Turn X. Several holes at an even spacing: make one, then Repeat it before you group.
What each tile makes
| Tile | What it makes | Starts as | Settings |
|---|---|---|---|
| Box hole (Holes) | A square or long hole, slot or pocket | 20 × 20 × 20 mm, Exact size | The box settings, Fit gap |
| Cylinder hole (Holes) | A round hole of any size | 20 × 20 × 20 mm, Exact size | The cylinder settings, Fit gap |
| Screw hole | A clearance hole and a flat-bottomed recess for a socket head | M3, Socket head (counterbore), 16 mm, Sliding fit | Screw size, Head: Socket head (counterbore), Countersunk (90°) or No head |
| Countersunk hole | A clearance hole with a cone for a flat-head screw | M4, Countersunk (90°), 16 mm, Sliding fit | The same as Screw hole |
| Nut trap | A hexagon pocket for a nut at the top, and a clearance hole all the way | M3, 12 mm, Sliding fit | Screw size |
| Insert hole | A hole for a brass heat-set insert, with a 0.5 mm 45° lead-in at the top | M3, 7 mm | Insert size (no Fit gap: the hole size is the insert's) |
| Bolt | A printed bolt (a solid): hex head at the bottom, so it prints head down with no supports; the thread tip is cut at 45° | M8, Hex head, 30 mm, Snug fit | Thread, Head: Hex head or Threaded rod |
| Threaded hole | A printed thread inside a part, with a 45° countersink at the opening, for a printed bolt | M8, 16 mm, Snug fit | Thread |
All of them except the Bolt are holes: they show grey and see-through and cut when you group them with a part. More about holes: Hole.
Metric and inch sizes
The sizes come from the ISO screw tables (socket heads, countersunk heads, nuts) and the inch tables (#4 to 1/2" screws, UNC and UNF threads). Pick the units in the top bar: in inches, a new screw hole, nut trap, bolt or threaded hole starts in the nearest inch size (M3 becomes #6, M4 becomes #8, an M8 thread becomes 5/16"-18 UNC). Insert holes stay metric.
| Tile | Sizes in the list |
|---|---|
| Screw hole, Countersunk hole, Nut trap | M2, M2.5, M3, M4, M5, M6, M8, M10, M12 · #4, #6, #8, #10, 1/4", 5/16", 3/8", 1/2" |
| Insert hole | M2, M2.5, M3, M4, M5, M6, M8 |
| Bolt, Threaded hole | M6, M8, M10, M12, M16, M20, M24, M30 · 1/4" to 1" in UNC and UNF (for example 1/4"-20 UNC, 1/4"-28 UNF) · Custom: type the Diameter and the Pitch |
Threads start at M6 and 1/4": smaller threads do not print well. A countersunk hole in an inch size gets the 82° cone of inch flat-head screws.
| Screw | Hole (Sliding fit) | Socket head recess | Countersink, top |
|---|---|---|---|
| M2 | 2.7 mm | 4.7 mm | 4.7 mm |
| M2.5 | 3.2 mm | 5.4 mm | 5.6 mm |
| M3 | 3.7 mm | 6.4 mm | 7.6 mm |
| M4 | 4.7 mm | 7.9 mm | 9.9 mm |
| M5 | 5.7 mm | 9.4 mm | 12.1 mm |
| M6 | 6.7 mm | 10.9 mm | 14.3 mm |
| M8 | 8.7 mm | 13.9 mm | 18.8 mm |
| #6 | 4.2 mm | 6.6 mm | 8.0 mm |
| #8 | 4.9 mm | 7.8 mm | 9.3 mm |
| #10 | 5.5 mm | 8.8 mm | 10.7 mm |
| 1/4" | 7.05 mm | 10.4 mm | 13.8 mm |
The hole is the screw's diameter plus 0.2 mm (printed holes come out a little small) plus the fit gap on each side. The socket-head recess is the head's diameter plus 0.4 mm plus the gap on each side, and as deep as the head plus 0.4 mm.
| Insert size | Hole diameter | Common insert length |
|---|---|---|
| M2 | 3.2 mm | 4 mm |
| M2.5 | 3.6 mm | 5.7 mm |
| M3 | 4.0 mm | 5.7 mm |
| M4 | 5.6 mm | 8.1 mm |
| M5 | 6.4 mm | 9.5 mm |
| M6 | 8.0 mm | 12.7 mm |
| M8 | 9.7 mm | 12.7 mm |
Inserts differ: check the hole size on your insert's sheet. Make the hole a little longer than the insert (the M3 hole starts at 7 mm for a 5.7 mm insert).
Fit gap
| Fit gap | Gap on each side | Starts on |
|---|---|---|
| Exact size | 0 | Box hole, Cylinder hole |
| Press fit (0.10 mm) | 0.10 mm | |
| Snug fit (0.15 mm) | 0.15 mm | Bolt, Threaded hole |
| Sliding fit (0.25 mm) | 0.25 mm | Screw hole, Countersunk hole, Nut trap |
| Loose fit (0.35 mm) | 0.35 mm |
On a hole, the panel says: "The hole is made bigger by this gap on each side, so a printed part slides in." On a box hole or a cylinder hole the gap is added to W and D, so you type the size of the thing that must fit: a 20 mm tube in a Cylinder hole of 20 mm with Sliding fit gets a 20.5 mm hole. On a Bolt: "The thread is made smaller by this gap, so it turns in a printed nut."
A printed bolt and a threaded hole

- The Bolt: hex head at the bottom, so it prints standing on its head.
- A block grouped with a Threaded hole: the thread is cut inside.
- Thread: M6 to M30, 1/4" to 1" UNC and UNF, or Custom.
- Head: Hex head or Threaded rod.
- Fit gap: Snug fit to start.
- Add a Box as thick as the thread should be long, and a Threaded hole with the same Length.
- Pick the Thread. Use the same thread on the Bolt.
- Put the threaded hole in the block, select both and press Ctrl+G.
- Print the block and the bolt standing up, as the lab builds them.
Leave the bolt and the threaded hole standing up. The thread is built to print that way; lying on its side, the underside of every turn would overhang.
Best filament
- PLA for screw holes and threads you tighten a few times.
- PETG for threads you open and close often and for parts that carry a load: it is tougher and less brittle than PLA.
- Print a bolt and its nut, or a lid and its jar, in the same filament: filaments shrink a little differently, so a mixed pair can fit tighter or looser.
Use 1.75 mm filament, the size Bambu printers take. This is our advice, not a test result: print a small part in the filament you choose before you rely on it.
Tips
- A screw hole in a plate 5 mm thick lying on the plate: Screw hole, Length 5, Lift 0. Its head recess (3.4 mm deep for M3) opens in the top face. For a flat-head wood screw, use Countersunk hole.
- A nut on the underside: Nut trap with its Length the thickness of the part, then Turn X 180 so the hexagon pocket opens in the bottom face. The pocket is the nut's thickness plus 0.3 mm.
- An insert in a thin part: leave a wall of 1.2 mm or more (three lines of a 0.4 mm nozzle) round the insert hole, and push the insert in square.
- Screw holes on their side (in a wall that stands up): a small round hole usually manages; for a bigger one, give it a pointed top. See Hole.
- A row of holes at an exact spacing: one hole, then Repeat → In a line, Step X the spacing.
Try it in MS 3D Lab
MS 3D Lab is free to use in your browser during the public beta, with no account. Your design stays on your computer.