Cannot Seem to Make Threads with Grasshopper's Sweep1

I am trying making a threadcutter to remove material for threads.
I have a nice spiral.
I have a profile curve.

The resultant sweep not only goes off the rail, but it twists, as well.
I tried adding more profiles, but that didn’t work either.

I might try making a high and lower spiral and try sweep2, but I am not optimistic.

1 Like

No, Sweep2 did not do exactly what I wanted. I check the endpoints, to make sure everything starts where it’s supposed to.

I tried a single surface, but it twists that too. I think that what it needed was “Roadlike top,” but it doesn’t have that.

1 Like

This is the result for a single surface.

I feel that if i put a whole bunch of intermediate curves in there–the result will have tension and twist where it’s not supposed to.

1 Like

share your file if you want help

1 Like

Without something akin to roadlike-top, there might be a reasonable solution.

While there is some powerful and sophisticated tools in Grasshopper, there are some missing basic functionality.

I encourage you to make some threads, using the missing spiral tool, and see how it works out with the missing road-like top.

1 Like

File would help

1 Like

Sweep2 seems to cut it ok:

helical thread demo.gh (29.8 KB)

Regards
Jeremy

1 Like

Jeremy, will it work with root and crest?

Hi Brenda,

Sorry, you’ll need to explain what you mean by root and crest - I’m not a thread expert :wink:

Regards
Jeremy

1 Like

But here’s a version of the demo which is done with a proper metric thread profile (a 36x4 male thread):

I have added some notes to the grasshopper file:

helical thread demo v2.gh (40.9 KB)

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).

Regards
Jeremy

1 Like

For ,the recors, here an old discussion on thread

5 Likes

Great resource, thanks Laurent.

1 Like

@jeremy5

1 Like

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.



3 Likes

@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?

1 Like

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


And finished by

1 Like

Thanks. I had tried to do it myself but am inexperienced in Grasshopper. Will try again with these images.

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)

thread female.gh (6.6 KB)

1 Like