Skip to main content
Desktop ApplicationCompleted

G-CODE Editor: CNC Programming Assistant

A PyQt5 desktop application for building and refining G-CODE programs with structured parameter management, multi-route processing, and dedicated controls for thread cutting workflows.

DeveloperMustafa Kürşad Başer
Started: Jan 2025Completed: Jan 2025
G-CODE Editor: CNC Programming Assistant

G-CODE Editor is a desktop tool that takes G-CODE authoring out of plain text editors and into a structured workflow. Operators rarely write G-CODE byte by byte; they configure initialization values, route files, thread cut parameters, and finalization steps. This application gives each of those a proper interface and produces the final G-CODE from the configured values, which removes a class of typing mistakes that show up as scrap.

What the editor handles:

  • Parameter sections: Initialization, thread cut, route, and finalization blocks each have their own form, edited in real time
  • Multi-route processing: Load several .nc route files, calibrate them, and align them into one coherent program
  • Thread cutting: A dedicated panel for stitch entry, stitch exit, and thread break parameters, with values that match what operators expect to see on the machine
  • Speed profiles: Start speed, max speed, acceleration, and deceleration configured per program
  • Localized UI: Turkish and English with runtime switching, useful for shared machines where operators rotate
  • File handling: Organized input and output paths for route files and exported G-CODE so a busy floor does not turn into a folder of mystery .nc files
  • Light, simple UI: Designed for industrial environments where a machine-side panel needs to be readable, not pretty

Stack: Python 3.6+, PyQt5, MVC layout, JSON for persistent parameter storage, custom i18n module.

Where it fits: Configuring CNC machines, refining G-CODE before deployment, prototyping route-based sequences, and as the operator-facing software on a control panel attached to a CNC line.

Tech Stack

PythonPyQt5JSON

Mustafa Kürşad BAŞER

Software Engineer

Trying to make the world a better place by writing code.

Quick Links

© 2026 Mustafa Kürşad BAŞER. All rights reserved.