A command-line gear generator
Project description
geargen
geargen is a command-line-based, CAD-independent generator for gears.
Features
- Spur gears
- Helical and herringbone gears
- Internal gears
- Bevel gears with arbitrary shaft angle
Usage
All parameters are specified by command line options. Distances are specified in millimeters and angles are specified in degrees.
Note: it only generates the essential part of a gear. Additional parts, such as the shaft bore or the hub, has to be added afterwards using CAD programs.
Spur gear
Spur gear with module 2, 16 teeth, and 10 mm width:
geargen -m 2 -n 16 -w 10 -o spur.step
-moption specifies the value of module.-nspecifies number of teeth.-wspecifies gear width.-ospecifies the name of a STEP file to be written.
Herringbone gear
Herringbone gear with helix angle of 30 degrees, module 1, 32 teeth, 10 mm width:
geargen -t herringbone -ha 30 -m 1 -n 32 -w 10 -o herringbone.step
-toption changes gear type. Also helical gears can be generated with-t helical.-haspecifies helix angle (default 20 deg).
Internal gear
Internal spur gear with module 1, 50 teeth, 10 mm width, and outer diameter of 60 mm:
geargen -t internal -m 1 -n 50 -w 10 -od 60 -o internal.step
-t internalmeans internal spur gear.-t internal_helicaland-t internal_herringboneare also supported.-odspecifies outer diameter.
Bevel gear
Bevel gear with module 1, 20 teeth, and 10 mm facewidth, meshes with a 40-teeth gear at 90 degrees:
geargen -t bevel -m 1 -n 20 -w 10 -nc 40 -sa 90 -o bevel.step
-ncoption specifies number of teeth of the counterpart.-saspecifies shaft angle (default 90 deg).
TODO
- Profile shifting
- Timing belt profile (GT2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geargen-0.0.1.tar.gz.
File metadata
- Download URL: geargen-0.0.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc4c481c293fc40f205d319602482654faf632e0a9f9e19ad98553a080a69607
|
|
| MD5 |
7a972c23cfe29d778bd23c50c7e907dc
|
|
| BLAKE2b-256 |
91e9f51723c87f79c858681cd8e01614b243518e3fdf2ebbbf99b0a825af084d
|
File details
Details for the file geargen-0.0.1-py3-none-any.whl.
File metadata
- Download URL: geargen-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a711760c37ba81b75e2b0e0f9a9b39608898b3a072baaa5dd1ecce3465a00bd0
|
|
| MD5 |
51a86fa24ce00ce08d015fd6c58274af
|
|
| BLAKE2b-256 |
46fde5cd0701cf05f607c1e7b62c2822d9bd1adec3ceb8855d0aa8852e95bcb8
|