vpype gcode plugin
Project description
vpype-gcode
Vpype plugin for gcode See: https://github.com/abey79/vpype
Gcode vpype plugin. Write gcode files for the vpype pipeline.
gwrite
write gcode geometries to disk
Installing
$ pip install vpype-gcode
vpype gwrite --help
Options:
-v, --version TEXT version to write
-h, --header TEXT header to write
-m, --move TEXT move to write
-l, --line TEXT header to write
-b, --preblock TEXT preblock to write
-B, --postblock TEXT postblock to write
-c, --prelayer TEXT prelayer to write
-C, --postlayer TEXT postlayer to write
-h, --footer TEXT header to write
-s, --scale FLOAT scale factor
-x, --flip_x flip_x from native
-y, --flip_y flip_y from native
-r, --relative use relative coordinates
--help Show this message and exit.
Versions
'ninja':
{
'header': 'G20\nG17\nG90\n',
'move': 'M380\nG00 X%.4f Y%.4f\nM381\n',
'line': 'G01 X%.4f Y%.4f\n',
'footer': 'M2\n',
'scale': 0.2645833333333333 # G20 scale.
},
'default':
{
'header': 'G20\nG17\nG90\n',
'move': 'G00 X%.4f Y%.4f\n',
'line': 'G01 X%.4f Y%.4f\n',
'footer': 'M2\n',
'scale': 0.2645833333333333 # G20 scale.
},
'default_relative':
{
'header': 'G20\nG17\nG91\n',
'move': 'G00 X%.4f Y%.4f\n',
'line': 'G01 X%.4f Y%.4f\n',
'footer': 'M2\n',
'relative': True,
'scale': 0.2645833333333333 # G20 scale.
}
Examples
Convert SVG -> GCode
vpype read butterfly.svg gwrite --version default butterfly.gcode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vpype-gcode-0.0.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for vpype_gcode-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72913171e47ad6a88bb02711740551eee6e98121425052e67ff41d764be3036 |
|
MD5 | 4f58b8fa9d2f2a2029ac4687ea6fdb75 |
|
BLAKE2b-256 | 5c7651c820c4b498214e2b0ce31d8bdfd00d4f065500da122a7b1d1380911865 |