I modeled a some time back if it helps. It models a gear using only the equation editor using the pitch diameter, number of teeth, ID, and pressure angle as inputs. It is in metric though......So you'll have to calculate the number of teeth and pitch diameter based on what mod or diametral...