Over the last few days I made a gear cutter on my lathe. My larger lathe (10x22) is ok for this but this is quite picky work and I've had to use a magnifying glass a few times to see things a bit better. I have a taig metal lathe however do not have a compound on it so cutting angles isn't the easiest. I suspect it would work better for things of this size and detail.
I started one cutter using 3/8 drill rod but quickly ruined it so started another with 1/2 in. drill rod. The cutter will be used in my taig vertical mill and must fit into either a 3/8 or 1/2 in. hole in a mandrel that screws on to the business end of the mill. A photo of the cutter installed in the mandrel (rather a rough one but it runs true):

I ground a 1/4 in. HSS cutting bit for the lathe as I find them easier to shape than larger ones. Using that along with a couple of round small files I shaped the cutter to make it as close to the tooth pattern on the 30 tooth gear as I could. I am anticipating having to fine tune the ends of the gears once cut and have a variety of small files for that purpose.
Hot off the lathe with a pencil end for scale:

I made this "jig" some time ago. It's a piece of hex brass with a 3/8 in. hole in one end and a 1/2 in. hole in the other. It's handy for indexing things like milling cutters for cutting the teeth. In this case I've put the cutter blank in the 1/2 in. end and secured it with a setscrew. Before putting it in the holder a flat was milled on the shaft of the cutter - it will be needed later on to assist in holding it in the milling mandrel:

Note that the teeth have already been cut in this photo and the one immediately below.
Another photo of the cutter blank in the hex holder. Note the calculations on the paper (more to follow on this):

I was not sure how to cut the teeth (3 in this case) on the mill and found a very nice pictorial representation of making a 6 tooth counterbore on Dean's site:
http://www.deansphotographica.com/machining/projects/mill/cbore/cbore.htmlIn that description he gives a formula for calculating how deep to cut the teeth - measuring from the top (in the taig mill) of the cutter tooth. In my case the diameter of the cutter itself was .490 in. and I calculated that the end mill should be positioned .267 in. down from the top. Lacking any better information that is what I did.
A photo showing the set up in the mill. There was no real need to make sure that the end of the hex was even with the end of the vice however I did this as practice for other projects. Cutting was easy - bring the end mill down .267 below the top of the cutter blank, move it so that it cut almost to the base of the "teeth" and then slowly feed the cutter into the end mill. Keep the end mill in the same position but move the cutter away from it (y axis) and then open the vice, turn the hex two positions and close the vice. Repeat the cut and move two more times. The set screws are not flush with the sides of the hex so a spacer was used in one position to allow the vice to hold the hex properly.

Once cut I applied a bit of blue magic marker to the teeth and filed relief immediately behind the cutting edge. The marker allowed me to see that I wasn't cutting at the tip of each tooth.
The cutting end of the gear cutter was then heated with my turbo torch propane torch until orange hot and plunged into cold water. That hardened it to brittle hardness but it needed to be tempered. I used my wife's oven and left the piece at about 450 F for an hour or so. My wife complains that the oven is always too hot so I expect it was more like 475 deg. F - might make a difference to the muffins but shouldn't hurt my cutter

The thick end showed a nice straw colour after so it appears that the tempering went well.
I need to hone the teeth now and then set up the mill and cut the gear. I have no idea if this will give me a working gear or not but at least it should be round and have some teeth by the time I'm done.
John.