Its a long project in mind, anyhow need some specific mod 1.5 size gears. Having my CNC at home, this is a first trial cutting a mod 1 gear ; its aluminum but just a start testing the procedure.
Mach3 has a gear cutting wizard, Rene - its almost too easy once you have the setup figured out. The code is dead simple, too - rotate the A axis by the 360 degrees/tooth count(a 36t gear gets rotated 10 degrees for each cut) and cut to depth. Rinse, repeat. I actually do it on a 3 axis machine(position and lock the Z, then take the Z motor cable and connect it to the A axis motor).
I know MastercamX has the 4th axis interpreted as well, but you don't want to go into mastercam programming cutting a gear. Thanks for the hint on your Z sacrificing for the A axis! now you mention it, I can finetune the Z on my BF20 pretty easy too. And i have got a few NEMA23 motors.
Cool that you can cut your own gears, I know it can be done, just never thought about it actually doing it.