Mach3 is a Windows based CNC controller.You need to use addtional software to create Gcode from 2d/3d files. Mach includes programs such as LazyCam which can import a 2d dxf,
define the machining, and then export Gcode to Mach3. Thus you need other software.
RICH