bolt is a program to create a BRL-CAD data base of one of four different kinds of bolts. Up to twenty-six bolts of one type and size may be created. bolt uses libwdb to create a database file. This program may be run interactively or the user may specify options on a command line. If the user chooses to run the program interactively he answers the questions as the program prompts him. Below are the options that can be used on the command line.
Type of bolt to be created: 1=>bolt head; 2=>bolt head and washer; 3=>bolt head, washer, and bolt stem; and 4=>bolt head and bolt stem.
BRL-CAD file name.
The number of bolts to be created. This number must be less than or equal to 26 (or it will be set to 26).
Diameter of bolt head, flat edge to flat edge, in millimeters.
Height of bolt head in millimeters.
Diameter of washer in millimeters.
Height of washer in millimeters.
Diameter of bolt stem in millimeters.
Height of bolt stem in millimeters.
Example 1. Interactive bolt Session
1 - bolt head
2 - bolt head & washer
3 - bolt head, washer, & stem
4 - bolt head & stem
Enter name of mged file to be created (25 char max).
Enter the number of bolts to be created (26 max).
Enter diameter (flat edge to flat edge) & height of bolt head.
option: 1 - bolt head
head diameter: 30.000000, & height: 10.000000
washer diameter: 0.000000, & height: 0.000000
stem diameter: 0.000000, & height: 0.000000
number of bolts: 3
Both examples produce the same output - the bolt heads (option 1) are created with a diameter of 30mm and a height of 10mm in a database file called bolt.g.
This software is Copyright (c) 2005-2016 United States Government as represented by the U.S. Army Research Laboratory.