Assuming that track links have a flat inner face, the geometry for the easy case of
articulations at the inner face is simplified as
Here, the tooth count is low in order to exaggerate the angles involved. You want to correlate the link length
L, hole length
H, angle between teeth
b, tooth angle
a and sprocket radius
R. I'll post the algebra later.