-
Notifications
You must be signed in to change notification settings - Fork 69
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
rack has incorrect pitch due to use of 'clearance' #9
Comments
Good |
Can confirm that this issue exists. However, I can not confirm that removing clearance solves it. At least not for herringbone racks. |
Just came across this same problem myself (though it took an embrassingly long time to discover: when my rack became unaligned I first began to doubt whether my maths was correct that it should move π * gear reference diameter with each revolultion - it should!). |
Removed the "clearance" adjustment to the rack module as described at chrisspen#9 which causes it to not mate properly with the spur gear. Also changed hard-coded values for pi, and radians to degrees to use built-in PI magic number instead.
The 'clearance', which didn't appear in the original library, causes the rack to mismatch a spur gear with the same module / modul. Removing the 'clearance' fixes this issues. Animating the example rack and pinion will show this.
...
fix: //modul=modul*(1-clearance);
...
Image showing rack with
modul=modul*(1-clearance)
and black marks at correct pitch, rack mismatching pitch. Rack exactly matches spur gear pitch radius and should have the same number of teeth, it doesn't.Image showing rack without
clearance
, black marks at correct pitch, in line with rack.The text was updated successfully, but these errors were encountered: