Input to Mach3 is normally G-Code created using CAM Software, I personally use Fusion360 I find its very good and free to hobbyists and startups with inder 100,000 turnover.
You can design import DXF and create G-code in one place in fusion360 equivalent software is prohibitivley expensive for hobbyists.