Get torque output based on gear sizes
Project description
A simple way to figure out how much torque different sized gears will get out of a a stepper motor (or any input).
Torque units are in nm (newton meters) and lengths should be in mm (millimeters).
Some background on why I wrote this package can be found here
Usage
from gear_torque_calc import get_torque
import pprint
pp = pprint.PrettyPrinter()
res = get_torque(drive_shaft_diameter=5, drive_shaft_torque=.2, gear_small_diameter=15, gear_large_diameter=55)
pp.pprint(res)
res = get_torque(drive_shaft_diameter=5, drive_shaft_torque=.2, gear_small_diameter=15, gear_large_diameter=55*2)
pp.pprint(res)
This should give you the following output
{'gear_ratio': 7.333333333333333,
'large_gear': {'force': 26.666666666666668,
'radius': 55.0,
'torque': 1.4666666666666668},
'motor': {'force': 80.0, 'torque': 0.2},
'small_gear': {'force': 26.666666666666668, 'radius': 7.5, 'torque': 0.2}}
{'gear_ratio': 3.6666666666666665,
'large_gear': {'force': 26.666666666666668,
'radius': 27.5,
'torque': 0.7333333333333334},
'motor': {'force': 80.0, 'torque': 0.2},
'small_gear': {'force': 26.666666666666668, 'radius': 7.5, 'torque': 0.2}}
Release
python setup.py bdist_wheel
twine check dist/*
twine upload dist/*
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for gear_torque_calc-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb010ed809cfc0b6b934a7c66107199c548b1f1610a18aa3a4dbbe0009c37de9 |
|
MD5 | d1994b3cb442a9d9e0c0c6e5f0df0cfd |
|
BLAKE2b-256 | 2d9b6e5e54ea626dca26062d260d6dbe3202a7121a3f87cd8fdeaf34c6d550a9 |