Git Product home page Git Product logo

g-mint's Introduction

g-mint

CAM Software and GRBL GUI (WIP, experimental)

This is a very basic, generic graphical frontend with a collection of CAM algorithms. Very early version.

EXPERIMENTAL SOFTWARE! Use at your own risk. Carefully check and verify any GCode before running on actual machines!

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Hopefully you will find it interesting. It can do a number of CAM operations for 2.5D and 3D surfacing, thread milling and boring, as well as lathe toolpaths. However, for now, there is no documentation yet, the user interface is not very intuitive, and there may be bugs. Carefully check any GCode, and simulate it, before running it on a machine. Bad GCode may damage machines, and cause injuries or harm. Use on your own risk.

At the moment, it will probably be most interesting to programmers who want to dive into CAM algorithms and might find it interesting. I've used it for actual machining, but the lack of documentation or a user-friendly GUI will make that challenging for others.

What can it do?

There are 3 main programs: mincam.py, mint.py and lint.py

mincam.py

  • load STL files (ASCII format only!)
  • generate toolpaths:
    • tool widget
      • tool definitions for slot and ball mills, with precise depth calculation based on triangles, or simple based on height map (deprecated)
      • definition of prismatic lathe tools
    • 2.5D machining:
      • slice at defined height to create 2D outline, and contour offsetting
      • medial line algorithm (can be used for trochoidal milling in path tools)
    • 3D machining (generate a pattern, and drop tool to 3D surface)
    • generators for thread milling and boring
    • lathe operations: plunging, following inside and outside, with prismatic tools (optional corner radius)
  • path operations
    • multiple depth stepping with ramp-down
    • clean paths (remove redundant points on a straight line)
    • smooth paths (replace line segments with arcs within a tolerance)
    • trochoidal interpolation along paths (makes most sense with medial line paths)
  • GRBL machine interface
    • real-time jogging
    • DRO with direct data entry
    • GCode editor for ad-hoc manual programming and machining
    • run currently active GCode from the path tool

mint.py

Just the GRBL machine interface, for mills

lint.py

GRBL machine interface for lathes. Can be run on raspberry pi with the official touch screen.

Setup:

Developed and tested on Ubuntu.

dependencies (may be incomplete):

  • python3
  • PyQT5
  • pyqtgraph
  • pyclipper
  • pyserial

on ubuntu: sudo apt install python3 python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qsci python3-opengl python3-numpy python3-scipy python3-pip python3-svg.path python3-shapely python3-serial python3-freetype pip3 install pyqtgraph pip3 install pyclipper pip3 install svgpathtools

to run: python3 mincam.py

python3 mint.py

python3 lint.py [-f]

-f fullscreen

g-mint's People

Contributors

fschill avatar codemakeshare avatar

Stargazers

Mortadha DAHMANI avatar Brandtley McMinn avatar

Forkers

maxcom99

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.