Having fun with Cura Engine using LED?

Hi there

Is it possible to “hack” the CuraEngine Composition generator (this part which writes the whole g-code between Start und End code)?

I would like to add a little programline in this generator which changes the LED Light Color when starting a new Layer to print.
Of course, I could do it every time with a G-Code Editor manually… but… uff… 1000 Layers to edit…? :smiley: nononono…

Would be a funny feature… :slight_smile:

thx for any answers!