Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add math functions to get pitch diameter of gears / sprockets / pulleys #52

Open
PChild opened this issue Nov 27, 2024 · 2 comments · May be fixed by #72
Open

Add math functions to get pitch diameter of gears / sprockets / pulleys #52

PChild opened this issue Nov 27, 2024 · 2 comments · May be fixed by #72
Assignees
Labels
good first issue Good for newcomers

Comments

@PChild
Copy link
Member

PChild commented Nov 27, 2024

We sometimes need to know the pitch diameter of a sprocket or pulley when we're converting from rotational motion to linear motion (like in the offseason elevator).

It would be nice to have functions that return a Distance so you could do something like sprocket25Diameter(16) to get the pitch diameter of a #25 16 tooth sprocket.

Pitch diameter equations:

  • 3mm pitch pulley (in mm): 3 * teeth / pi
  • 5mm pitch pulley (in mm): 5 * teeth / pi
  • RT25 pulley (in inches): 0.25 * teeth / pi
  • #25 chain sprocket (in inches): 0.25 / sin(pi / teeth)
  • #35 chain sprocket (in inches): 0.375 / sin(pi / teeth)
  • 20DP gear (in inches): teeth / 20
  • 32DP gear (in inches): teeth / 32
@PChild PChild added the good first issue Good for newcomers label Nov 27, 2024
@jkleiber
Copy link
Member

jkleiber commented Dec 1, 2024

@aidnem can you assign this to one of the new members?

@aidnem
Copy link
Contributor

aidnem commented Dec 1, 2024

@Samson560915 I think this will be a good introduction because you can learn how we write code in our projects without having to do anything insanely complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants