A modern, open-source G-Code Viewer and Simulator for CNC machines, written in Python. Designed for engineers, machinists, and hobbyists who need a fast, lightweight tool to visualize, analyze, and edit G-Code.
- Real-time Visualization: 3D OpenGL rendering with Pan/Zoom/Rotate.
- Animation Mode: Play/Pause with adjustable speed slider.
- Smart Scan: Detects crashes (Rapid into material), missing feeds, and tool errors.
- Tool Library: Support for multiple tools (T1, T2...) with custom diameters.
- DXF Export: Reverse engineer G-Code back to DXF drawings.
- Advanced Editor:
- Syntax Highlighting.
- Renumber Lines / Remove Line Numbers.
- Transformations (Mirror, Scale, Shift, Axis Swap).
- DRO Panel: Digital Readout of coordinates during simulation.
Go to the Releases page and download the latest .exe. No installation required.
- Install Python 3.x
- Install dependencies:
pip install -r requirements.txt
- Run the app:
python main.py
- Language: Python 3.10+
- GUI: PySide6 (Qt)
- Graphics: PyOpenGL
- Export: ezdxf
Feel free to fork this repository and submit Pull Requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoying the tool? ☕ Buy me a Coffee