This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (c) 2020 Lucas V. Hartmann, github.com/lhartmann | |
// MIT license. | |
// Use: | |
// hpgl2gcode --scale=1 --up=1 --down=0 < in.hpgl > out.gcode | |
// --scale=1 Sets how many HPGL units for 1 GCODE unit. | |
// --up=1 Sets Z for pen-up. | |
// --down=0 Sets Z for pen down. | |
// Values shown are defaults. | |
// |