https://github.com/scttnlsn/cnc-tools
CNC tools for working with Gcode and Grbl
https://github.com/scttnlsn/cnc-tools
cnc gcode grbl
Last synced: 7 months ago
JSON representation
CNC tools for working with Gcode and Grbl
- Host: GitHub
- URL: https://github.com/scttnlsn/cnc-tools
- Owner: scttnlsn
- License: mit
- Created: 2017-11-02T22:03:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T19:00:35.000Z (about 8 years ago)
- Last Synced: 2025-02-13T14:44:37.978Z (12 months ago)
- Topics: cnc, gcode, grbl
- Language: Python
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cnc-tools
CNC tools for working with Gcode and Grbl
### grbl.py
Minimal wrapper for communicating with Grbl board via serial device.
### probe.py
```
usage: probe.py [-h] -o OUTPUT -d DEVICE --x-max X_MAX [--x-step X_STEP]
--y-max Y_MAX [--y-step Y_STEP] [--z-min Z_MIN]
[--feedrate FEEDRATE]
Probe Z surface
optional arguments:
-h, --help show this help message and exit
-o OUTPUT path to output file
-d DEVICE serial device
--x-max X_MAX max x value
--x-step X_STEP x step increment
--y-max Y_MAX max y value
--y-step Y_STEP y step increment
--z-min Z_MIN minimum z value
--feedrate FEEDRATE probe feedrate
```
### gcode.py
```
usage: gcode.py [-h] -g GCODE {adjust,extent} ...
Process gcode files
optional arguments:
-h, --help show this help message and exit
-g GCODE path to input gcode file
commands:
{adjust,extent}
adjust adjust gcode z values
extent output gcode extent
```
```
usage: gcode.py adjust [-h] -p POINTS
optional arguments:
-h, --help show this help message and exit
-p POINTS path to points file
```