But there’s still an infinite number of solutions to this. You’d have to add in a few more requirements to get down to one exact solution.
In order to simplify, let’s add one more requirement: you want to do this the simplest way possible, which is exactly four gears: one on the driven shaft (of radius r[sub]1[/sub]), two on an idler shaft (of radii r[sub]2[/sub] and r[sub]3[/sub]), and the last on the driven shaft (of radius r[sub]4[/sub]). Gears 1 and 2 are meshed, as are gears 3 and 4.
Now, for those four radii, you have only two requirements. The first is that the gear ratio must be 12:
(r[sub]1[/sub]*r[sub]3[/sub])/(r[sub]2[/sub]*r[sub]4[/sub]) = 1/12
The second is that the centerline of the driving and driven shaft must be the same, which means the distance from the driving/driven shaft to the idler shaft must be the same:
r[sub]1[/sub] + r[sub]2[/sub] = r[sub]3[/sub] + r[sub]4[/sub]
That’s two equations and four unknowns. Can’t get there from here. [On preview I see Kevbo beat me to the punch, but let me keep going.] However, each gear reduction must be a rational fraction, to be able to set the number of teeth (in other words, you couldn’t have radii ratios of SQRT(12), for example).
Let’s arbitrarily choose speed ratios of 1:3 and 1:4. This eliminates two unknowns, because r[sub]2[/sub]/r[sub]1[/sub] = 3 and r[sub]4[/sub]/r[sub]3[/sub] = 4. However, it also eliminates an equation. Now let’s arbitrarily set a centerline distance–say 1-1/2 inches. Now the centerline equation breaks into two parts:
r[sub]1[/sub] + r[sub]2[/sub] = 1.5
r[sub]3[/sub] + r[sub]4[/sub] = 1.5
Substituting in, we get r[sub]1[/sub] = 0.5, r[sub]2[/sub] = 1.0, r[sub]3[/sub] = 0.375, and r[sub]4[/sub] = 1.125. Any meshing gears with stated diameters will work for your application. If you’re making them yourself, remember the pitch has to be the same on meshing gears, so that the ratio of the number of teeth is the same as the ratio of the diameters.
You can reset your required centerline distance and recalculate, or reset the speed ratios and recalculate.