aplocher
Posts: 2
Joined: Sun Dec 03, 2017 9:31 pm
Location: Sacramento, CA

Injecting custom GCODE to indicate percent complete

I'm trying to setup this plugin for OCTOPRINT that takes custom GCODE commands (indicated with OCTO# - eg OCTO123) and runs a shell script. In a perfect world, this would run a shell script that causes my LED strip to indicate a % of completion. I have the shell script written and ready to go, but now I'm just wondering if it's possible to have Simplify3D inject this type of information.

It could simply be just a Layer # and Total # of Layers and then my script would determine a % based on those two arguments.

E.g. "OCTO123 10 100", where OCTO123 is my custom inject GCODE, 10 current layer, 100 total # of layers.

Can this be done? Perhaps in the Scripts \ Layer Change Script tab? Are there any examples of scripts and what variables are available to us?

Thank you

Return to “General Discussion and Tips”