Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!

MScrew generator

by maximumiq, published

MScrew generator by maximumiq Mar 2, 2013

Thing Info

11381Views 3152Downloads
Report Thing


OpenSCAD program to generate screws following the metric standard. Various screw head types and slots. Real thread. Create threaded nuts also. Can generate screws without thread for modelling.
M2 though M14 can be created. Its really easy to add new screw sizes to the array of existing definitions.


Use openSCAD to load the codefile. At the bottom of the file the samles as shown here are generated by a single call per item.

Have just updated the library. An error was discovered which made the threads slimmer at the end of the screw.

Thing Info

11381Views 3152Downloads
Report Thing

Liked By

View All


Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag
This comment has been deleted.
This comment has been deleted.

would you mind if i made this customizer compatible?

Hello, didn't see this before now. But what is customizer compatible ?

It is fine with me, but I will update sometimes.

Btw. How do I update a thing with sourcecode without loosing my statistics. I've done it tvice now and apparantly the wrong way. My download counter is lost when doing it.

im not sure. it did that on my gs3 case as well

After succes with the m4's I tried m3's - didn't work on first attempt. The tolerances are very tight, And I added an m4 nut to a project but (metal) but m4's didn't fit it - m3's did. Interesting.

maximumiq - in reply to

Try the newest file. I've adjusted the thread generator so a screw and a nut fit nicely together.

Hey, thanks, will do!

This is the most useful set of models I've seen. Many thanks. Printing an M4 right now.

I successfully printed a quad of M4x8mm's SHCP's which were spaced 20mm apart in a square pattern, on a Replicator2 using fill=100%, shells=1, layer size=0.125. All four successfully threaded into the VESA mount on the back of my HP monitor on the first time and they grab just fine. They'll be used to hold a Raspberry Pi mounting plate. Well done, thank you.

Hey, that's really nice. What printer do you use. M4 is quite small and needs a lot of details. Good job you too. Thank you for verifying my library's measures. Hasn't had a chance myself. I'm still calibration my RepRapPro Mendel.