I love emc2 but I hate having to go out in the garage when working on a part just to see if emc2 likes my gcode or not.
So to make a long story short, I am working on a piece of software to run on my Mac that will read a DXF file and generate gcode for the machines in the shop.
I actually have a version running. It currently generates gcode specifically for EMC2 (it uses o-words and emc2 subroutines). It currently only generates code for my mill (not my lathe). I have written a number of gcode subroutines and many of them will ultimately be used in wizards in the software. The only one that is currently being used as a wizard is for cutting holes. I generate a subroutine from the DXF input and have another subroutine that calls it repeatedly to cut to depth. The result is much shorter gcode output than some other software. Much easier to debug.
It has a job setup window for setting parameters related to the particular job being run; a layer list for all of the layers in the DXf, and a Layer Edit that allows you to set certain variables by layer (for example you can change the depth of cut for each layer).
You can also set a preference to set how close the ends of entities must be to be considered connected.
I have attached a few screen shots to show what it looks like.
It currently barfs on some large DXF files.
Alan