While browsing one of the Adobe Community forums to get info on Illustrator scripting, I came across this post and immediately thought it would be cool to port his script to After Effects. Gears are great shapes that can be used in various situations, but they are even better when you can animate them…

Note: There is an AE shape preset called Gear, but it uses 3 Polystars, 1 Ellipse and 3 Merge Path to create the gear (which makes adjustments more difficult).
USAGE
Activate a comp
Click on Create
Free material license
These scripts are copyrighted by Motion Boutique.
They are free for personal and commercial use but come “as is” with no warranty nor any free personal support.
Redistribution in any form is not allowed, instead always link to www.motionboutique.com for correct files.
By downloading any of these scripts, you agree the above terms.
This After Effects script creates shape layers and distributes them around a sphere.
Execute the script, specify sphere parameters (#cols,#rows,radius), and click Ok.
Original tools for Adobe After Effects