node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

gcode-simulator

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 | node bin/svgmill.js | gcode-simulator

where svgmill.js turns svg into gcode

from the web

open index.html in a webgl capable browser

License

MIT