A couple years ago (when I was first starting out with Rhino) I needed to make a part with an uncommon 40 tpi pitch. (it’s actually fairly standard in the optical field but in generic hardware it isn’t).
This video was very helpful then - and guided me towards a working part, particularly the approach for building arbitrary threads.
No narration but pretty easy to follow what is going on.