Lightburn: Cut and Fill Layers aren't aligned as they are in softare

So I’m coming back to lasering after a while and Lightburn after a longer while. I got a 40W laser between now and the last time I used it. I installed the 40W laser profile from the wiki which solved my air-assist issues. And I set “Emit S value with every G1 command” to resolve my issues with it not cutting past the first path.

I thought I was in the clear (everything was cutting nicely) until it got to the only engraving part of the project. I was trying to engrave a QR code. It ended up wildly off from what it looked like in software.

Pictures:
What it looks like in Lightburn:

What it looks like in real life:

As you can see the QR code gets shifted left by a significant amount to where it overlaps the cut areas.

I even opened the gcode in Luban and it looks normal here as well:

Here is the gcode:
bintray_1.nc (252.3 KB)

Any ideas on why this happened?

Crossposting this to the Lightburn forums. As added info my set up uses the Artisan Lightburn profile here: https://wiki.snapmaker.com/en/general/manual/use_ray_with_lightburn_guide

Are you using the crosshairs and have them properly setup in Lightburn? I had this issue when I had the crosshair offset set on my 2.0 on my 40W (on the touchscreen, not lightburn) it would run the first object fine, then it would shift by that offset. I don’t use the cross, so I zeroed it out on my machine.

Try matching your laser offset on the machine and Lightburn to the same thing.

That was it. I just turned it off entirely and that fixed the problem. I.e. just change “Enable Pointer Offset” to the OFF mode in the device settings in Lightburn.

There’s some weird stuff going on now with the laser cutting in a completely different area from the boundary run though. It might not be related though. I’ll play around with some settings.

Thanks!

Please write the solution when you solve the boundary problem. I have the same issue.

So something updated with Lightburn or Snapmaker and caused the thing to break again with or without “Enable Pointer Offset” checked or unchecked. Previously I had things working nicely where everything was aligned, and things were working with the boundary if I used Absolute Coords for the origin. But now it breaks.

I’m nearly 100% certain it is due to the offset between the crosshairs and the laser because the engraving takes place almost exactly 21mm to the left, which is exactly the offset of the crosshairs from the laser. The cut job takes into account the correction distance, but the engraving seems to use the crosshairs coordinates.

Switching to Current Position, or User Origin fixes the fill/cut alignment issue but makes the boundary problem rear its ugly head again. This is fairly frustrating as I was hoping to make some last minute Christmas gifts.

For the boundary problem (using User Origin or Current Position) I can tell that when it runs the boundary it seems to start from the middle of the job (even though that’s not what is selected in Lightburn) and goes to the bottom left corner to run the boundary. However when it cuts it just starts cutting from its current position so the boundary and the cut aren’t aligned at all.

Here is my cross-post to the Lightburn Forum: Image/Fill Layers Not Aligned with Line/Cut Layers (Snapmaker) - LightBurn Software Questions - LightBurn Software Forum

However last time they were not really helpful there.