ported the openscad gear generation script
hacked out string quotes to make is possible to use  variable
printed gear example; with animation