SCAD module for a locknut and screw hole combination. This is setup for M3 screws and nylon-locknuts (ny-lock nuts).
Note: the picture looks odd because this module is meant to be placed in OpenSCAD code in the ending half of a:
This means all the elements in this module are removed (subtracted, etc) from your part. The picture shows a part, but this module is meant to make a cavity for a screw, it's locknut and a hole to drop the locknut into.
I designed this to since I often use this code in parts, and making it into a module makes it very easy to reuse for any future designs.
If you are not familiar with SCAD or have not used modules in SCAD. Modules can save a lot of time by not having to create the same code for many different parts.
There are two easy ways to use it:
- Just cut and paste all the code in the file, or
- drop the file in the same folder of your part and have the line
at the top of the file.
REMOVE the " from in front of Locknut in the above line, it won't show up correctly on Thingiverse without the extra "
After doing one of the above:
Read the noted in the SCAD file for an explanation of the stuff inside () and what they do.