This is code that generates a screw-like threaded shape that is easy to print on a typical FDM printer. It is meant to be added to other projects that require threaded parts.
How do you use it?
Copy/paste the code into the bottom of your script and use one of the functions. Detailed instructions are included in the commenting.
Why not use one of the existing libraries out there?
I like to make Thingiverse Customizer-enabled models. I don't believe those can work with libraries well. And copy/pasting a library of code into the script is messy. So I wanted a simple function that "does the job" without being too laggy.
I see ways to improve on this!
Please do, and release an update (and let me know)! I made this for the challenge, but also to fill a very specific need I was experiencing. If you can make a better version that fulfills the requirements, or point to one that exists that I missed, I'd gladly use it and link to it!
Simple_Printable_Threads.scad | 7.9KB | |
Simple_Printable_Threads.stl | 2.4MB |