Here is a Gear Calculator I use to generate gears in this site.
Number of Teeth :
Below is Default values I use and you may change for your own gear.
Pressure Angle: Degrees
Dedendum: Inches
Scale: Pixels = 1 Inches
Face Point Number: Points on the Flank

Max radius and teeth number you can use are 4 and 40 respectively.
You can use coordinate points given below to draw this gear.
Just copy it and create a movie clip by using these values.
You can also use these values to cut gears by using water jet cutting
or plasma cutting.
Best of my knowledge these calculations are OK, use it with your own risk.

 Please Let Me Know How Much You Like This (1 is very Bad - 10 is Excellent)

 this.graphics.moveTo(193.629528075622,0); this.graphics.lineTo(194.86,0.09); this.graphics.lineTo(198.51,0.74); this.graphics.lineTo(204.44,2.49); this.graphics.lineTo(212.42,5.84); this.graphics.lineTo(211.79,17.36); this.graphics.lineTo(203.49,19.82); this.graphics.lineTo(197.41,20.91); this.graphics.lineTo(193.71,21.16); this.graphics.lineTo(191.10,38.10); this.graphics.lineTo(194.55,39.45); this.graphics.lineTo(200.03,42.33); this.graphics.lineTo(207.20,47.17); this.graphics.lineTo(204.33,58.34); this.graphics.lineTo(195.72,59.14); this.graphics.lineTo(189.53,59.02); this.graphics.lineTo(185.86,58.54); this.graphics.lineTo(179.99,74.65); this.graphics.lineTo(183.12,76.65); this.graphics.lineTo(187.93,80.54); this.graphics.lineTo(194.02,86.69); this.graphics.lineTo(189.03,97.09); this.graphics.lineTo(180.42,96.18); this.graphics.lineTo(174.38,94.86); this.graphics.lineTo(170.87,93.68); this.graphics.lineTo(161.97,108.33); this.graphics.lineTo(164.64,110.90); this.graphics.lineTo(168.60,115.65); this.graphics.lineTo(173.38,122.87); this.graphics.lineTo(166.45,132.10); this.graphics.lineTo(158.19,129.53); this.graphics.lineTo(152.52,127.06); this.graphics.lineTo(149.31,125.21); this.graphics.lineTo(137.72,137.85); this.graphics.lineTo(139.84,140.89); this.graphics.lineTo(142.80,146.32); this.graphics.lineTo(146.07,154.33); this.graphics.lineTo(137.48,162.03); this.graphics.lineTo(129.88,157.90); this.graphics.lineTo(124.80,154.37); this.graphics.lineTo(122.01,151.93); this.graphics.lineTo(108.18,162.07); this.graphics.lineTo(109.67,165.47); this.graphics.lineTo(111.51,171.37); this.graphics.lineTo(113.16,179.87); this.graphics.lineTo(103.23,185.74); this.graphics.lineTo(96.58,180.21); this.graphics.lineTo(92.29,175.76); this.graphics.lineTo(90.02,172.82); this.graphics.lineTo(74.49,180.06); this.graphics.lineTo(75.28,183.68); this.graphics.lineTo(75.94,189.83); this.graphics.lineTo(75.89,198.49); this.graphics.lineTo(65.01,202.31); this.graphics.lineTo(59.56,195.59); this.graphics.lineTo(56.22,190.38); this.graphics.lineTo(54.58,187.06); this.graphics.lineTo(37.93,191.13); this.graphics.lineTo(38.00,194.84); this.graphics.lineTo(37.44,201.00); this.graphics.lineTo(35.71,209.48); this.graphics.lineTo(24.29,211.11); this.graphics.lineTo(20.26,203.45); this.graphics.lineTo(18.00,197.69); this.graphics.lineTo(17.04,194.11); this.graphics.lineTo(-0.09,194.86); this.graphics.lineTo(-0.74,198.51); this.graphics.lineTo(-2.49,204.44); this.graphics.lineTo(-5.84,212.42); this.graphics.lineTo(-17.36,211.79); this.graphics.lineTo(-19.82,203.49); this.graphics.lineTo(-20.91,197.41); this.graphics.lineTo(-21.16,193.71); this.graphics.lineTo(-38.10,191.10); this.graphics.lineTo(-39.45,194.55); this.graphics.lineTo(-42.33,200.03); this.graphics.lineTo(-47.17,207.20); this.graphics.lineTo(-58.34,204.33); this.graphics.lineTo(-59.14,195.72); this.graphics.lineTo(-59.02,189.53); this.graphics.lineTo(-58.54,185.86); this.graphics.lineTo(-74.65,179.99); this.graphics.lineTo(-76.65,183.12); this.graphics.lineTo(-80.54,187.93); this.graphics.lineTo(-86.69,194.02); this.graphics.lineTo(-97.09,189.03); this.graphics.lineTo(-96.18,180.42); this.graphics.lineTo(-94.86,174.38); this.graphics.lineTo(-93.68,170.87); this.graphics.lineTo(-108.33,161.97); this.graphics.lineTo(-110.90,164.64); this.graphics.lineTo(-115.65,168.60); this.graphics.lineTo(-122.87,173.38); this.graphics.lineTo(-132.10,166.45); this.graphics.lineTo(-129.53,158.19); this.graphics.lineTo(-127.06,152.52); this.graphics.lineTo(-125.21,149.31); this.graphics.lineTo(-137.85,137.72); this.graphics.lineTo(-140.89,139.84); this.graphics.lineTo(-146.32,142.80); this.graphics.lineTo(-154.33,146.07); this.graphics.lineTo(-162.03,137.48); this.graphics.lineTo(-157.90,129.88); this.graphics.lineTo(-154.37,124.80); this.graphics.lineTo(-151.93,122.01); this.graphics.lineTo(-162.07,108.18); this.graphics.lineTo(-165.47,109.67); this.graphics.lineTo(-171.37,111.51); this.graphics.lineTo(-179.87,113.16); this.graphics.lineTo(-185.74,103.23); this.graphics.lineTo(-180.21,96.58); this.graphics.lineTo(-175.76,92.29); this.graphics.lineTo(-172.82,90.02); this.graphics.lineTo(-180.06,74.49); this.graphics.lineTo(-183.68,75.28); this.graphics.lineTo(-189.83,75.94); this.graphics.lineTo(-198.49,75.89); this.graphics.lineTo(-202.31,65.01); this.graphics.lineTo(-195.59,59.56); this.graphics.lineTo(-190.38,56.22); this.graphics.lineTo(-187.06,54.58); this.graphics.lineTo(-191.13,37.93); this.graphics.lineTo(-194.84,38.00); this.graphics.lineTo(-201.00,37.44); this.graphics.lineTo(-209.48,35.71); this.graphics.lineTo(-211.11,24.29); this.graphics.lineTo(-203.45,20.26); this.graphics.lineTo(-197.69,18.00); this.graphics.lineTo(-194.11,17.04); this.graphics.lineTo(-194.86,-0.09); this.graphics.lineTo(-198.51,-0.74); this.graphics.lineTo(-204.44,-2.49); this.graphics.lineTo(-212.42,-5.84); this.graphics.lineTo(-211.79,-17.36); this.graphics.lineTo(-203.49,-19.82); this.graphics.lineTo(-197.41,-20.91); this.graphics.lineTo(-193.71,-21.16); this.graphics.lineTo(-191.10,-38.10); this.graphics.lineTo(-194.55,-39.45); this.graphics.lineTo(-200.03,-42.33); this.graphics.lineTo(-207.20,-47.17); this.graphics.lineTo(-204.33,-58.34); this.graphics.lineTo(-195.72,-59.14); this.graphics.lineTo(-189.53,-59.02); this.graphics.lineTo(-185.86,-58.54); this.graphics.lineTo(-179.99,-74.65); this.graphics.lineTo(-183.12,-76.65); this.graphics.lineTo(-187.93,-80.54); this.graphics.lineTo(-194.02,-86.69); this.graphics.lineTo(-189.03,-97.09); this.graphics.lineTo(-180.42,-96.18); this.graphics.lineTo(-174.38,-94.86); this.graphics.lineTo(-170.87,-93.68); this.graphics.lineTo(-161.97,-108.33); this.graphics.lineTo(-164.64,-110.90); this.graphics.lineTo(-168.60,-115.65); this.graphics.lineTo(-173.38,-122.87); this.graphics.lineTo(-166.45,-132.10); this.graphics.lineTo(-158.19,-129.53); this.graphics.lineTo(-152.52,-127.06); this.graphics.lineTo(-149.31,-125.21); this.graphics.lineTo(-137.72,-137.85); this.graphics.lineTo(-139.84,-140.89); this.graphics.lineTo(-142.80,-146.32); this.graphics.lineTo(-146.07,-154.33); this.graphics.lineTo(-137.48,-162.03); this.graphics.lineTo(-129.88,-157.90); this.graphics.lineTo(-124.80,-154.37); this.graphics.lineTo(-122.01,-151.93); this.graphics.lineTo(-108.18,-162.07); this.graphics.lineTo(-109.67,-165.47); this.graphics.lineTo(-111.51,-171.37); this.graphics.lineTo(-113.16,-179.87); this.graphics.lineTo(-103.23,-185.74); this.graphics.lineTo(-96.58,-180.21); this.graphics.lineTo(-92.29,-175.76); this.graphics.lineTo(-90.02,-172.82); this.graphics.lineTo(-74.49,-180.06); this.graphics.lineTo(-75.28,-183.68); this.graphics.lineTo(-75.94,-189.83); this.graphics.lineTo(-75.89,-198.49); this.graphics.lineTo(-65.01,-202.31); this.graphics.lineTo(-59.56,-195.59); this.graphics.lineTo(-56.22,-190.38); this.graphics.lineTo(-54.58,-187.06); this.graphics.lineTo(-37.93,-191.13); this.graphics.lineTo(-38.00,-194.84); this.graphics.lineTo(-37.44,-201.00); this.graphics.lineTo(-35.71,-209.48); this.graphics.lineTo(-24.29,-211.11); this.graphics.lineTo(-20.26,-203.45); this.graphics.lineTo(-18.00,-197.69); this.graphics.lineTo(-17.04,-194.11); this.graphics.lineTo(0.09,-194.86); this.graphics.lineTo(0.74,-198.51); this.graphics.lineTo(2.49,-204.44); this.graphics.lineTo(5.84,-212.42); this.graphics.lineTo(17.36,-211.79); this.graphics.lineTo(19.82,-203.49); this.graphics.lineTo(20.91,-197.41); this.graphics.lineTo(21.16,-193.71); this.graphics.lineTo(38.10,-191.10); this.graphics.lineTo(39.45,-194.55); this.graphics.lineTo(42.33,-200.03); this.graphics.lineTo(47.17,-207.20); this.graphics.lineTo(58.34,-204.33); this.graphics.lineTo(59.14,-195.72); this.graphics.lineTo(59.02,-189.53); this.graphics.lineTo(58.54,-185.86); this.graphics.lineTo(74.65,-179.99); this.graphics.lineTo(76.65,-183.12); this.graphics.lineTo(80.54,-187.93); this.graphics.lineTo(86.69,-194.02); this.graphics.lineTo(97.09,-189.03); this.graphics.lineTo(96.18,-180.42); this.graphics.lineTo(94.86,-174.38); this.graphics.lineTo(93.68,-170.87); this.graphics.lineTo(108.33,-161.97); this.graphics.lineTo(110.90,-164.64); this.graphics.lineTo(115.65,-168.60); this.graphics.lineTo(122.87,-173.38); this.graphics.lineTo(132.10,-166.45); this.graphics.lineTo(129.53,-158.19); this.graphics.lineTo(127.06,-152.52); this.graphics.lineTo(125.21,-149.31); this.graphics.lineTo(137.85,-137.72); this.graphics.lineTo(140.89,-139.84); this.graphics.lineTo(146.32,-142.80); this.graphics.lineTo(154.33,-146.07); this.graphics.lineTo(162.03,-137.48); this.graphics.lineTo(157.90,-129.88); this.graphics.lineTo(154.37,-124.80); this.graphics.lineTo(151.93,-122.01); this.graphics.lineTo(162.07,-108.18); this.graphics.lineTo(165.47,-109.67); this.graphics.lineTo(171.37,-111.51); this.graphics.lineTo(179.87,-113.16); this.graphics.lineTo(185.74,-103.23); this.graphics.lineTo(180.21,-96.58); this.graphics.lineTo(175.76,-92.29); this.graphics.lineTo(172.82,-90.02); this.graphics.lineTo(180.06,-74.49); this.graphics.lineTo(183.68,-75.28); this.graphics.lineTo(189.83,-75.94); this.graphics.lineTo(198.49,-75.89); this.graphics.lineTo(202.31,-65.01); this.graphics.lineTo(195.59,-59.56); this.graphics.lineTo(190.38,-56.22); this.graphics.lineTo(187.06,-54.58); this.graphics.lineTo(191.13,-37.93); this.graphics.lineTo(194.84,-38.00); this.graphics.lineTo(201.00,-37.44); this.graphics.lineTo(209.48,-35.71); this.graphics.lineTo(211.11,-24.29); this.graphics.lineTo(203.45,-20.26); this.graphics.lineTo(197.69,-18.00); this.graphics.lineTo(194.11,-17.04);