Printing threads is sometimes a pain and the hardware store is so far away. Threading your own bolts is fine as long as the print settings for the ‘rod’ work well and don't cause deformation.
The attached file contains Prusaslicer settings for a Sovol SV07 with PETG. Use these settings to print small bolts/nuts, e.g. M5 hex bolt, which can then be threaded with the appropriate die set. The print time is long (30 min for an M5 x 40 mm bolt) but the parts are good. Use orientation provided for bolts and nuts can sit with the hole facing the build plate.
If you use another slicer the key settings are the following:
No supports required for nuts, only bolts.
The author marked this model as their own original creation.