Difference between revisions of "Hex"
From BRL-CAD
Line 1: | Line 1: | ||
− | Supported items | + | ==Supported items== |
* Hex head metric bolts: M1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 42, 45, 48, 52, 56, 60, 64 | * Hex head metric bolts: M1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 42, 45, 48, 52, 56, 60, 64 | ||
* Allen head metric bolts: M3, 4, 5, 6, 8, 10, 12 | * Allen head metric bolts: M3, 4, 5, 6, 8, 10, 12 | ||
Line 5: | Line 5: | ||
* Metric nuts: M1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 42, 45, 48, 52, 56, 60, 64 | * Metric nuts: M1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 42, 45, 48, 52, 56, 60, 64 | ||
* Metric washers M2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 30, 36, 42, 48, 56, 64, 72, 80 | * Metric washers M2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 30, 36, 42, 48, 56, 64, 72, 80 | ||
+ | |||
+ | ==Requirements== | ||
+ | * ANSI C compiler (cc, gcc) | ||
+ | * Symbolic links supported on the system | ||
+ | * Root access on the system | ||
+ | |||
+ | ==Installation== | ||
+ | * Download [[http://ronja.twibright.com/3d/lib/hex.c|hex.c]] | ||
+ | * cc -o hex -lm hex.c | ||
+ | * 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 | ||
+ | |||
+ | ==Usage== | ||
+ | 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 |
Revision as of 13:41, 20 February 2009
Supported items
* Hex head metric bolts: M1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 42, 45, 48, 52, 56, 60, 64 * Allen head metric bolts: M3, 4, 5, 6, 8, 10, 12 * Cheese head metric bolts: M1, 1.2, 1.4, 1.6, 2, 2.5, 3, 4, 5, 6 and an extrapoliation * Metric nuts: M1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 42, 45, 48, 52, 56, 60, 64 * Metric washers M2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 30, 36, 42, 48, 56, 64, 72, 80
Requirements
* ANSI C compiler (cc, gcc) * Symbolic links supported on the system * Root access on the system
Installation
* Download [[1]] * cc -o hex -lm hex.c * 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
Usage
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