DXF2Gcode is an open source program that converts CAD files in the DXF format into G-code for CNC milling machines. It allows users to take designs made in CAD software and convert them into toolpaths for machining.
DXF2Gcode is an open source, cross-platform program designed specifically for converting CAD files in the DXF (Drawing Exchange Format) into G-code to control CNC milling machines. It allows CAD designers and engineers to take their designs made in CAD software like AutoCAD, FreeCAD, LibreCAD, etc. and convert them into toolpaths for machining on CNC mills, routers, engravers, and other computer-controlled machines.
DXF2Gcode handles importing and converting various entities contained within the DXF files such as lines, circles, arcs, ellipses, splines, and polylines. It optimizes the toolpaths for efficient machining and provides users with various customizable options and settings when generating the G-code like cutter diameter, step-over percentage, spindle speed, cut direction, etc. The generated G-code can be saved to file and directly loaded onto the CNC machine controller software.
The software is available for Windows, Linux and macOS platforms. It provides both a customizable GUI interface for interactively setting parameters and options as well as a command line interface for converting DXF files into G-code via scripts and batch processing. DXF2Gcode supports multiple output formats like General XYZ coordinates format, Standard G-code format, and Extended Gerber with coordinate data RS-274X format.