Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 787 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 787 Bytes

pyplotter

Tool to send cnc files to Makeblock Plotters

Installation

  1. Install python
  2. Install pyserial
pip install pyserial

Usage

Send CNC commands directly from command line:

./pyplotter.py /dev/cu.wchusbserial1410 # Linux, OSX
python pyplotter.py COM1 # Windows

Send a CNC file to the plotter:

./pyplotter.py -f fish_simple.cnc /dev/cu.wchusbserial1410 # Linux, OSX
python pyplotter.py -f fish_simple.cnc COM1 # Windows

Full usage:

usage: pyplotter.py [-h] [-f FILE] [-b BAUD] device

positional arguments:
  device                Serial device to connect

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  File to send
  -b BAUD, --baud BAUD  Baud rate