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

nuts_and_bolts - MCAD replacement (nuts, bolts, washers, T-Slots)

by txoof Jan 11, 2016
Download All Files

Thing Apps Enabled

Please Login to Comment

Verry nice but you mis pitch for M5 in scad file. Bogus M5 Bolt, Nut & Washer", 5, 3, 8, 9, 5, 4, 4, 0.8, 0.8, 0.9, 10],

Thank you for sharing.

Looks like a great project, I appreciate your putting it into the domain. I'm looking for a replacement thread for a standard camera tripod. Wikipedia says the standard thread for this (and I'm assuming most consumer cameras) is "Per ISO 1222:2010, the current tripod screw thread standard for attaching the camera calls for a 1/4-20 UNC ".

Do you know where I can find a model for a standard 1/4-20 thread that I can use in my model for the camera mount?

You should be able to use the THREADS.SCAD library that biomushroom mentions below. You'll need to figure out all the parameters for the ISO1222:2010 thread type, but the THREADS.SCAD is a rather amazing piece of code that can turn parameters into almost perfect models. I can't quite wrap my head around the logic and math in that library (which is why I didn't use it!), but from what I do understand, it matches most ISO standards as closely as possible.

Here's a link: http://dkprojects.net/openscad-threads/threads.scad

Hello dear, Great Job indeed.
Thanks a lot for the mention.

To resolve (partially) the issue of overgrown heads, that's the solution (not elegant, but works):
LINE 385:
cylinder ( h = headThick, r = headRad - (1/8 headRad)); -> cylinder ( h = headThick, r = headRad - (1/8 headRad) * 2);

that's because Minkowski adds the Radius*2 of the Sphere to the base object to be modified.

Hope that could help a little. I look'd to the code and is WAY more readable than mine. As I can see you have planned EVERYTHING before start... Mine, I admit, is a spaghetti code, born on the beach, under a brilliant sun and without any kind of pretenciousness.
I've used the THREADS.SCAD library from Dan Kirshner because is mechanically correct. It's a little slow, but I managed to print a NUT for an ACME screw in Nylon and it fits flawlessly. Just take it a look and consider a version for mechanical printed parts, like the Open-RC Project.

I'm here to help in any way you could need. Just ask.
And as always... Cheers Buddy.

Thanks for the information regarding the minkowski. I'll look into fixing that.

I appreciate the compliment. I did do some planning, but not nearly enough. I had already written a similar library and stupidly didn't look at how I set that up. I didn't use the same parameter names and now have a huge mess to clean up to reconcile the two versions. Ugg.

At least I set this up as a git repo so I can back out of bad ideas a little easier...

Oh, and I skipped your chosen thread library because it was a bit messy and slow. I wanted an elegant solution that was "good enough". I did quite a bit of reading on the different methods for creating threads and your method is vastly superior. As far as I can tell it follows the ISO standard about as perfectly as possible. The method I chose was elegant and understandable, but not nearly as correct.

My primary use for this library is for creating tSlots, captive nuts and bolt holes in other things. The threads were really just a nice touch to make things look flashy and maybe make them printable.