klipper-led_effect
klipper-led_effect copied to clipboard
Activate effect when extruding
Hi, I've made a simple arc welding effect for my StealthBurner nozzle leds. It's not perfect, but I'm happy with it for now. But at the moment I activate the effect in my PRINT_START macro en deactivate it in the PRINT_END macro. It would be super cool if there was a way to have the effect active only when extruding. I couldn't find anything relevant in the documentation, so I guess it's not possible at this time and so this issue is a feature request.
[led_effect welding1]
autostart: false
frame_rate: 30
leds:
neopixel:Stealthburner (2,2)
layers:
twinkle 100.00 1.00 add (1.00,1.00,1.00)
twinkle 100.00 1.00 top (0.00,0.00,1.00)
[led_effect welding2]
autostart: false
frame_rate: 30
leds:
neopixel:Stealthburner (3,3)
layers:
twinkle 100.00 1.00 add (1.00,1.00,1.00)
twinkle 100.00 1.00 top (0.00,0.00,1.00)
[gcode_macro lights_nozzle_welding]
gcode:
STOP_LED_EFFECTS
SET_LED_EFFECT EFFECT=welding1
SET_LED_EFFECT EFFECT=welding2