First, decide what the screw will thread into. On an enclosure, the screw can pass through the lid and thread into a nut or insert in the base. Size each opening for the part that goes into it. The same assembly can use a clearance hole and an insert pocket.
Three functions in the same assembly
| Opening | Function | Dimensions to check |
|---|---|---|
| Clearance hole | Lets the screw reach the internal thread. | Largest diameter of the part of the screw that has to pass through, desired clearance and access to the head. |
| Captive nut pocket | Holds the nut and limits its rotation as you tighten the screw. | Width across flats or actual profile, thickness, insertion opening and alignment with the screw. |
| Threaded insert hole | Holds the insert that provides the internal thread. | Hole diameter, depth and shape specified for the chosen insert, with enough material around the hole. |
If you can reach the back, a regular nut may do the job. If that access disappears when you close the enclosure, add a pocket that keeps the nut from turning and a way to slide or drop it in. Prusa’s assembly manual shows how to insert a nut from the side and check its alignment on a specific printed holder. Prusa’s Y-axis assembly, rod holder.
Check screw length in a cross-section
Take a theoretical example with a non-countersunk screw. There are 5 mm from the bearing surface under the head to the entrance of the internal thread. The screw is 8 mm long measured from under its head. On the drawing, the screw extends 8 − 5 = 3 mm past that entrance.
If the first obstruction lies 4 mm beyond the entrance, the drawing shows 4 − 3 = 1 mm of space in front of the tip. That millimetre is geometric clearance in this example. Actual thread engagement also depends on the screw’s threaded length, the lead-in to the internal thread and the available threaded depth. The screw can bottom out before it clamps the lid. For a blind hole, check the usable depth and the tip position separately. SPIROL’s guide to insert hole design.
Compare two variants before redesigning the enclosure
- Record the screw and nut dimensions or the insert part number. For an insert, take the hole dimensions from its datasheet and check the walls around it. SPIROL’s guide to inserts for 3D-printed parts.
- Make a cross-section of the assembly and check that you can get both the fastener and the tool into place. For a nut, check that the pocket walls engage its flats and that a base or stop prevents it from slipping back out where it needs to stay put.
- Compare two small test pieces with the same orientation, material and print profile. Change one pocket dimension at a time. The guide to assembly clearances helps you plan the comparison.
- In the slicer, check that you can still see the side opening, hole and walls on the layers in question. See the guide to reading the slicer preview.
- On the test piece, check three things separately. Does the fastener go in? Does it turn? Does the lid seat fully? If the nut spins, widening the clearance hole won’t fix the nut pocket.
These choices and dimensions help you plan a typical assembly. The example is a calculation from a drawing. To design a joint for loads or repeated tightening, use data and tests suited to the application.