CAM Expert it converts drawings (DXF) to virtually any NC code / g-code.
CAM expert is a CAM extension for the QCad application. It features automatic creation of G-Code, HP/GL and many other formats. CAM Expert is very flexible and can be configured to create almost any text based vector graphics format.
The conversion process from CAD to CAM can also include various optimizations such as cutting contours from inside to outside and optimization for shorter cutting paths.