A Python-based tool to convert 2D DXF drawings into optimized G-code for CNC machines. Supports key geometric entities with features like kerf compensation, entity sorting, and basic path optimization.
- ✅ Support for LINE, ARC, CIRCLE, and SPLINE entities
- ✂️ Kerf compensation
- 📈 Entity sorting for reduced travel distance
- 🔁 Basic path optimization
- 📤 Export clean G-code compatible with most CNC controllers
- ⚙️ Easily extendable architecture for custom post-processing or entity support
Clone the repository and install dependencies:
git clone https://github.com/shaahid-ahmed/PathForge.git
cd PathForge
pip install -r requirements.txt