The trick isn't gears, since you can wire rotation together and there are plenty of freeware gear plugins. The trick is the chain that joins them. Using cloned arrays along a spline is just a pain in the butt. If somebody's got a chain plugin, PLEASE put it up.
