sir-buckyball / chrome-gcode-sender

A gcode-sender application for Chrome/ChromeOS.
MIT License
60 stars 24 forks source link

Add support for $-scodes #56

Closed ademuri closed 2 years ago

ademuri commented 3 years ago

GRBL uses these for setting configuration, such as acceleration.

sir-buckyball commented 3 years ago

It strikes me as unexpected that a gcode file would have machine-specific configuration embedded within it? Can you provide an example use case which this addresses?

aside: Chrome has deprecated the chrome.serial API and it will soon be dropped. The replacement WebSerial API isn't quite ready. Additionally, Chrome has been dropping support for classic Chrome Apps like this. I honestly haven't tried to deploy this app in years and have doubts to if I would actually be able to due to relatively recent requirements for apps in the chrome web store.

ademuri commented 3 years ago

I'm using this with Grbl_Esp32 to set the acceleration rate. I'm building a hanging plotter, and if the acceleration is too high, it wobbles. I'm setting the acceleration depending on the pen size so that it goes as fast as possible without noticeable wobble in the lines.

That's too bad about it being harder/maybe not possible to deploy this. I was able to load it locally, so I can use it like that for now.