Sharing several simple parametric thread patterns I've used in my 3D printing projects.
Depending on filament and printer you may need to adjust the “delta” to make parts fit the way you like.
Use negative delta for “bolt” and positive delta to cut out hole in the “nut”.
In my experience delta 0.1 - 0.2 mm makes parts fit tight, and 0.3 and above is for easy rotation.
The author marked this model as their own original creation.