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

Fixed calc_circular_pitch to use unit_factor freeing the Tooth system… #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ssentinel
Copy link

Changed the calc_circular_pitch function to use the declared measurements units parameter instead of static units of mm for module and inch for the others. This keeps the units of measurement used throughout the extension uniform, instead the dimension units being fixed based on the tooth system and the rest being declarative based on the units parameter. Also moved the Units parameter to the first page of the extension dialog and removed the unit designations from the tooth system option labels.

Also added the root_diameter to the annotation text so I could see the effect of the clearance parameter.

… from any specific unitary system. Previously Module was tied to millimeters while Circular and Diametral Pitch were tied to inches. Now they take their units from the Unit input just like all the other measures.
@Neon22
Copy link
Contributor

Neon22 commented Apr 28, 2017

do you mean to claim copyright, or just be a contributer ? Just asking.

@ssentinel
Copy link
Author

ssentinel commented Apr 28, 2017 via email

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

Successfully merging this pull request may close these issues.

2 participants