Hi all, I'm trying to set up a Laser Raster instruction for my Marlin-like

Hi all,

I’m trying to set up a Laser Raster instruction for my Marlin-like machine (Dobot Mooz-2).

I’ve had great luck with Laser Fill Path and Laser Cut operations, but the gcode generated by the Raster instruction doesn’t work. My machine needs “S” codes on their own lines, but I can’t get LW (4, Windows) to create the form I need.
It always produces code like:
G1 F2000

; stripped: S0.0000
G1 X62.52 Y30.98
; stripped: S1.0000
G1 X62.57
; stripped: S2.0000
G1 X62.62
Etc.

So it seems to be stripping the S codes, and sure enough, when I run this, the head moves back and forth but the laser doesn’t fire.

I’ll keep looking but haven’t been able to find docs on the “Trim Pixels”, “Join Pixels”, etc. What do those do?

I do have “Laser Intensity: S” and “Intensity Separate Line” in the settings - that’s what enabled doing laser fill path, e.g.

Thanks in advance!
Aaron

have you tired adding it to the Tool On in the settings?