OctoPrint-DisplayLayerProgress icon indicating copy to clipboard operation
OctoPrint-DisplayLayerProgress copied to clipboard

GCode Viewer Layer Information

Open jnnkls opened this issue 4 years ago • 3 comments

Hello there, would it be possible to use the existing layer information from octoprint? Like many others, I have already uploaded a lot of gcode files to octoprint, and I honestly don't want to upload them again. I know octoprint shows the current layer in the gcode viewer, so shouldn't there be a way to use that information instead of modifying the gcode?

Thank you so much for the great plugin! It's really a pleasure to use it, especially now that I can finally use the LCD of my Ender 3 v2 for such information.

Cheers Jani

jnnkls avatar Aug 18 '21 18:08 jnnkls

This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.

stale[bot] avatar Sep 19 '21 00:09 stale[bot]

Hi @JaniDJ,

the DLP-plugin started with OP Version 1.3. and in this version the gcode viewer was a JavaScript based solution, so it only runs in the browser. If you close the browser you can't provide the data to other plugins e.g. mobile-apps. Also there was/is no "API" for grabing such information, maybe in the future releases of OP there will be an "developer-interface" to collect such informations directly from OP. That was the reason why I decide to wrote a custom parser on the server side.

OllisGit avatar Oct 14 '21 16:10 OllisGit

Specifically for j-n7 (and others) I have a script to reload all your files for you. Reload.sh.zip This is kind of dangerous as you RPi will be quite busy reprocessing all your files 8-) Read it before using it - I run it from my .octoprint directory.

CmdrCody51 avatar Mar 13 '22 16:03 CmdrCody51