./run-example.sh 38 --module 0.5 --gearLength 5 --outerThickness 1.6667 \
--tolerance 0.041667 --holeRadius 1.6667| Go flag | This program | Meaning |
|---|---|---|
| -mod | --module | Gear module (tooth size) |
| -gl | --gearLength | Gear length |
| -ha | --helixAngle | Helix angle (0–45°) |
| -hr | --holeRadius | Hole inradius |
| -ht | --holeType | None, Squared, Hexagonal, Octagonal, Circular |
| -ne | --numElbows | Number of herringbone elbows |
| -nt | --numTeeth | Sun gear teeth (default 12; must make sun + ring divisible by the planet count) |
| -planets | --numPlanets | Number of planet gears |
| -planetTeeth | --planetTeeth | Planet teeth (0 = same as the sun) |
| -pa | --pressureAngle | Pressure angle |
| -ringTeeth | --ringTeeth | Ring teeth (0 = sun + 2·planet) |
| -tol | --tolerance | Target flank clearance |
| -outerThickness | --outerThickness | Ring wall thickness |
| -res | --resolution | Points per curved section of the outline |
| -o | --out | Output file |