Hyrel 3D Printers have a built-in function to convert 2D .dxf files into gcode for the laser; it's the same process to move a pen around instead of a laser. We actually did some early motion control...