hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
419 stars 148 forks source link

Ability to load GCODE file at startup of gCodeViewer. #64

Open AndWalu opened 6 years ago

AndWalu commented 6 years ago

Add HTTP GET parameters "filename" that allow user tu specify a GCODE file that will be loaded automatically to gCodeViewer at startup.

The file have to be placed in "gcode" subdirectory. Any attempt to escape from "gcode" subdirectory are blocked. This is useful when you want to start gCodeViewer from other application. Work well in Firefox. Edge is tragically slow.

Example of use: firefox.exe file:///C:/gCodeViewer/index.html?filename=test.gcode

ldijkman commented 5 years ago

Thank you http://84.106.2.21:8888/forum/GCode_Viewer/index.html?filename=anet_a8_spool_cone.gcode