Originally shared by Michel Pollet Quick hack in OpenSCAD to design a clamp for

Originally shared by Michel Pollet

Quick hack in OpenSCAD to design a clamp for the 65mm spindle mounted on the V-slot rail of the new CNC. I’ll 3D print these tomorrow; I think I might do away with 3 of them.
OpenSCAD is definitely the ‘programmer’s friend’ for CAD, it’s a page of ‘code’ to do this, and all you need is your measuring tools

d593e61a7aed51629b0d136054a46ee5.png

Wait, openscad can do screws and bolts models too? I must have missed that option somewhere. All I want to do is modelling things and add bolt holes into it :(.

@Alex_Lee yes, I’ve worked with PLA for a long time now, anything that has /any/ sort of flex will break, thats why the ‘cut’ for the clamp is so small, and why I try to have it’s screw as close to possible to the spindle as possible. What I’ll do is print about 60% of one, and see how it fits, then tweak.
@Dat_Chu yes actually OpenSCAD has a library for that sort of parts, theres quite a few other open source ones too. In this model, I just modeled a 25mm M5 flat head screw with 2 cylinders, it’s not very complicated.
In any case I’ll post it to my github once it’s done…