There’s a variety of ways to add threaded holes to 3D printed objects. You can tap a hole, but the plastic isn’t always strong enough. Nut traps ... can buy threaded inserts (see video below ...
By combining prints with screws, nuts, fasteners ... share some tips on one of my favorite functional 3D-printing techniques: adding heat-set inserts. As someone who’s been installing them ...