/gcode-simulator

convert svg to gcode and watch a virtual cnc machine make cuts in 3d

Primary LanguageJavaScriptMIT LicenseMIT

gcode-simulator

Webgl based gcode simulator

Uses

from the command line

First, install npm install -g gcode-simulator

now you can execute the gcode-simulator command at your prompt. If you want to stream gcode to the simulator add a -i.

example: curl http://www.clker.com/cliparts/O/H/c/W/A/o/plane.svg | svgmill -i -z 110 --scale=1 | gcode-simulator -i

where svgmill turns svg into gcode. (npm install -g svgmill)

from the web

open index.html in a webgl capable browser

License

MIT