Coder Social home page Coder Social logo

michaelfranzl / grbl-gui Goto Github PK

View Code? Open in Web Editor NEW
28.0 5.0 6.0 760 KB

Gcode scripting, 3D visualization and streaming for the grbl CNC controller

License: GNU General Public License v3.0

CSS 0.01% Python 99.49% C 0.32% QMake 0.06% C++ 0.11%
gui grbl gcode cnc-controller python opengl streaming 3d-visualization gerbil-gui

grbl-gui's Introduction

grbl-gui

Graphical User Interface for the "grbl" CNC controller; implemented in Python 3 with Qt 6 bindings.

Features

  • Real-time displays of grbl's state (mode, working position, machine position, motion mode, plane mode, distance mode, feed mode, unit mode, program mode, spindle mode, spindle RPM, serial read buffer untilization)
  • Quick push buttons for
    • Abort/reset
    • Kill alarm
    • Homing
    • Check mode
    • Holding and Resuming
    • Generation of g-code that draws the bounding box around all other g-code (automatically goes to Hold mode, user can continue by pressing the Resume button)
    • Go to maximum Z
    • Go to upper right corner
    • Go to lower right corner
    • Go to coordinate system origin
    • Spindle off
    • Spindle maximum
  • Simulation (dry-run) mode
  • Sliding feed override
  • interactive preprocessor g-code variable editing
  • Buffer display
  • interactive grbl's settings table
  • Detached-window, real time, 3D visualization of g-code and tool position (using https://github.com/michaelfranzl/pyglpainter)
  • Embedded Python scripting for procedural g-code generation and transformation
  • Robust streaming of g-code to grbl (using https://github.com/michaelfranzl/grbl-streamer)
  • Jogging buttons
  • Coordinate system switching
  • Interactive, one-line command line interface to grbl
  • Supports grbl variant 0.9 (but 1.1 should work too thanks to grbl-streamer)
  • Event timeline (of commands sent and received)

Screenshots

The main window

The simulator window

The simulator window

The simulator window

The simulator window

The simulator window

Requirements

  • Your graphics hardware and drivers need to support at least OpenGL version 2.1 with GLSL version 1.20.
  • An Arduino board with grbl version 0.9j flashed onto it (however, the Gcode simulator and scripting will even work without an Arduino board connected) and connected to your computer.

Dependencies

Dependencies are managed using pipenv:

pip install pipenv --user
pipenv install -d

Usage

To start:

pipenv run ./grbl-gui.py gui --path /dev/ttyUSB0 --baud=115200

Development

Update Python code from Qt .ui file

pyuic6 -o lib/qt/grbl_gui/ui_mainwindow.py lib/qt/grbl_gui/mainwindow.ui

grbl-gui's People

Contributors

michaelfranzl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.