Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

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

wants to merge 6 commits into from

Conversation

AndWalu
Copy link

@AndWalu AndWalu commented Feb 1, 2018

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

… 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.
@AndWalu AndWalu changed the title Ability to load GCODE file at startyp of gCodeViewer. Ability to load GCODE file at startup of gCodeViewer. Feb 1, 2018
@ldijkman
Copy link

ldijkman commented Apr 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants