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

simple 2d gcode visualize #11

Open
mkeyno opened this issue Mar 11, 2017 · 4 comments
Open

simple 2d gcode visualize #11

mkeyno opened this issue Mar 11, 2017 · 4 comments

Comments

@mkeyno
Copy link

mkeyno commented Mar 11, 2017

hi , sorry to open ticket for my question , actually I made my low weight web interface on ESP8266 which is use the JavaScript readerFile to load the gcode file on client side , I use the GRBL as cnc interpreter and connected to my ESP and its work well, however I intend to add visualize tab page so I could show gcode tool path but I couldn't find single file JS code (no Jquery) , I really appreciated if I have any hint on how to use essential this repo code for simple 2d visualize purpose
favicxzccon

@chilipeppr
Copy link
Owner

chilipeppr commented Mar 11, 2017 via email

@mkeyno
Copy link
Author

mkeyno commented Mar 11, 2017

I'm not sure about your buffering question , but I just connect serial pin of Arduino board(GBRL firmware) to ESP module and let the client side page and then ESP manage sending the Gcode to arduino and handle responds. My idea is just connect to CNC and load your file and do CNC job. With FileReader() method I could load and buffering file with size of 50K lines with no problem. Web host can authenticate the user and handle only one IP to control the CNC. Websocket service used to stream the code to Arduino with calculation how much byte has been sent yet and how much room available, my page code size less than 20KB and I don't want to use jquery due its size, that's why I'm looking for JS code to embed gcode visualizer in webpage. To enhance the ESP performance I should merge the file together and keep the size less as possible , I did visit your widget long ago but I'm not very professional to use it in that way, also ESP module mostly in AP mode and there is no internet connection to load JS code , so although your widget-3dviewer is really beautiful but for me its heavy and hard to use it in only 2D mode , hope I could have your hint to use your lib in my project

@mkeyno
Copy link
Author

mkeyno commented Apr 14, 2017

@chilipeppr I've noticed your widget example can't run locally and need webGL as well as internet resources , does your lib can be launch only with single portable lib ?

@chilipeppr
Copy link
Owner

chilipeppr commented Apr 15, 2017 via email

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

No branches or pull requests

2 participants