BRL-CAD is a powerful cross-platform open source solid modeling system that includes interactive geometry editing, high-performance ray-tracing for rendering and geometric analysis.
For creating nuts and bolts , creating threads becomes a messy work , and even programs like AutoCAD barely support this function. So the hex extension for BRL-CAD can do the work for you.
Requirements :-
BRL-CAD ( http://www.brlcad.org )hex.c file ( http://ronja.twibright.com/3d/lib/hex.c ) basic knowledge of Linux commands
Making it to Work :-
First download hex.c, then run the following commands at the command line:
$ cc -o hex hex.c -lm
su
# cp hex /usr/bin
# ln -s /usr/bin/hex /usr/bin/hexbolt
# ln -s /usr/bin/hex /usr/bin/allenbolt
# ln -s /usr/bin/hex /usr/bin/nut
# ln -s /usr/bin/hex /usr/bin/washer
# ln -s /usr/bin/hex /usr/bin/cheesebolt
and hence the program is installed and now
Working with it :-
Run one of the commands hexbolt, allenbolt, nut, washer, cheesebolt, without parameters. The syntax of the item specification will be printed. A .asc file will be produced in the current directory named according to the item requested. Example: cheesebolt_M3x10.asc.
Open brlcad > Create new database from file > then from file select > import ascii format database > select the created file > provide commands to draw the objects