Skip to main content

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
  • -m option specifies the value of module.
  • -n specifies number of teeth.
  • -w specifies gear width.
  • -o specifies 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
  • -t option changes gear type. Also helical gears can be generated with -t helical.
  • -ha specifies 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 internal means internal spur gear. -t internal_helical and -t internal_herringbone are also supported.
  • -od specifies 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
  • -nc option specifies number of teeth of the counterpart.
  • -sa specifies shaft angle (default 90 deg).

TODO

  • Profile shifting
  • Timing belt profile (GT2)

Metadata

Release files for geargen 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geargen 0.0.1
File Size Uploaded
geargen-0.0.1.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geargen 0.0.1
File Interpreter ABI Platform
geargen-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / geargen-0.0.1.tar.gz

Download URL geargen-0.0.1.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cc4c481c293fc40f205d319602482654faf632e0a9f9e19ad98553a080a69607
BLAKE2b-256 checksum
How to use checksums
91e9f51723c87f79c858681cd8e01614b243518e3fdf2ebbbf99b0a825af084d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / geargen-0.0.1-py3-none-any.whl

Download URL geargen-0.0.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a711760c37ba81b75e2b0e0f9a9b39608898b3a072baaa5dd1ecce3465a00bd0
BLAKE2b-256 checksum
How to use checksums
46fde5cd0701cf05f607c1e7b62c2822d9bd1adec3ceb8855d0aa8852e95bcb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page