I think the way to remove guesswork is to focus on the tip (top) and the pitch (side) of a cog.

The tip curve is easily constructed from a circle with the same diameter as the gear, 485px.
The pitch, for the above size of the example jpeg, can be two intersecting large circles, 3200px diameter, whose circumferences align with the cog pitch.

Intersecting all shapes of the small circle and the two larger ones results in a stator of the exact required shape that can be cloned, rotated and to form the cogs.
The rest of the construction is relatively simple using two sized circles.

Click image for larger version. 

Name:	Stator.jpg 
Views:	130 
Size:	22.9 KB 
ID:	124855 Click image for larger version. 

Name:	Stators.jpg 
Views:	127 
Size:	99.8 KB 
ID:	124856 Click image for larger version. 

Name:	Cogs.jpg 
Views:	126 
Size:	83.9 KB 
ID:	124857 Click image for larger version. 

Name:	Almost Gear.jpg 
Views:	129 
Size:	69.2 KB 
ID:	124858 Click image for larger version. 

Name:	Gear.jpg 
Views:	130 
Size:	82.0 KB 
ID:	124859

Acorn