Hey IridiumIO, Would you consider adding support for a laser cutter? I invision it would like this, instead of the gcode telling it to lower down to cut it instead issues a custom command. here what im doing lol [gcode_macro G1] rename_existing: G1.1 gcode: G1.1 {rawparams} {% if 'Z' in params %} {% if params.Z|float <= 0 %} SET_PIN PIN=_spindle_laser VALUE={printer["gcode_macro _LASER_VARIABLES"].power} {% else %} SET_PIN PIN=_spindle_laser VALUE=0 {% endif %} {% endif %} [gcode_macro G0] rename_existing: G0.1 gcode: G0.1 {rawparams} {% if 'Z' in params %} {% if params.Z|float <= 0 %} SET_PIN PIN=_spindle_laser VALUE={printer["gcode_macro _LASER_VARIABLES"].power} {% else %} SET_PIN PIN=_spindle_laser VALUE=0 {% endif %} {% endif %} [gcode_macro M3] gcode: {% set S = params.S|default(255)|float %} SET_GCODE_VARIABLE MACRO=_LASER_VARIABLES VARIABLE=power VALUE={S / 255.0}
Activity
Iridium-IO commentedon Jul 20, 2026
Absolutely can do :) I don't have a laser cutter myself but it should be possible.
brycehub commentedon Jul 20, 2026
i don't either i just called the solinod pin that haha
Iridium-IO commentedon Oct 19, 2026
I forgot to add this to 0.11, but I've just finished it and will release with 0.12 :)