I've never studied Physics, and I've run into a Physics question while writing a code for a 3D plugin. I'm making a routine which automatically creates gear trains. I've covered spur, helical and bevel gear ratios and everything works nicely, However, I've run into a brick wall with rack & pinion gears.
I know just enough to assume that this is a question of finding a ratio between the angular motion of the pinion and the linear motion of the rack. I also suspect that the angular increments have to be in radians rather than degrees. Can anyone tell me if there's a basic equation tranlating motion between these that I can incorporate into my code? Many thanks in advance.