Basic gcode sender in Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit c0572ef Apr 30, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Fixed markdown Apr 30, 2017
gcodesender.py First draft Jun 23, 2014

README.md

gcodesender.py

Basic gcode sender in Python.

This script has been tested on a pcDuino v2 sending gcode to a Printrbot. It should also work on an Arduino Yun.

Features

  • programmatically sends gcode over a USB port
  • automagically strips out Slic3r comments and delivers only pure uncut gcode

Help: ./gcodesender.py --help

Example usage:

./gcodesender.py -p /dev/ttyACM0 -f /media/UNTITLED/shoulder.g

Code snippets and basic idea taken from: http://onehossshay.wordpress.com/2011/08/26/grbl-a-simple-python-interface/