Here is a collection of shape/part libraries that you can use in your OpenSCAD design. (see the include and use command)
Contains the following modules:
(Included in the MCAD distro, see below)
(All these modules are 3D shapes despite some of them having 2D names)
 
All dimensions are proportional to the dia, so for example cap_bolt(3,15) will produce a M3 cap bolt with a 15mm threaded section.
(Originally from [http://github.com/D1plo1d/MCAD github.com/D1plo1d/MCAD])
(The following is taken from the README, follow the [http://github.com/elmom/MCAD link] for the latest version)
Currently Provided Tools:
Other tools (alpha quality):
Utils:
Uncategorised:
Metric and inch dimensions - ISO-standard thread profiles, for both external threads (bolt) and internal threads (nut) -- the clearances are slightly different between the two.
A set of pinball parts models for pinball design work. Includes models for 3d printing of the parts, 3d descriptions of mount holes for CNC drilling and 2d descriptions of parts footprint.