But I’d stress that this is just a demo of how sweep2 can work OK in grasshopper for this. It isn’t a tool for generating threads (although it could be a starting point for one).
I made a functional thread using the grasshopper tools with a 3d print in sand. There is a bit of friction but it works very well. As it is a bulb holder, it hasn’t to be opened and closed very often.
@laurent_delrieu Thanks for linking this! Looking at the last post in from that thread, Roberto’s version is very helpful, however there does not seem to be an ability to bake a solid female thread merged with a cylinder (as there is for the male thread).
Does this exist somewhere in the grasshopper script that I am missing, or can you recommend how i would merge the female thread with a cylinder for easier booleans later?
I didn’t have problem because for Male and Female I used Solid tools. If there wasn’t a solid for female it is quite simple to make it. If you have not the tool just do it !
I began with that
This forum can help you if you have some problem. I can share what I did without problem, but it was dedicated for my lamp so the height, diameter of cylinder …
So the idea is to make a thread a bit longer, then make a cylinder that is a bit shorter. Then split the thread with the good length then cap it (cap could work)