If you click ‘Save GCode’ and then run that GCode in an online simulator, does it also show the offset? If not, the issue is the machine itself, probably losing steps.
Thank you for your prompt return
I’m in a belt drive, maybe that’s why there are waves.
But apart from that why on 1 pass the square is correct and why on the 2nd pass I have this offset.
For information, the square in the photo was created with LightBurn and engraved immediately without using any other software.
I do not know, which is why I suggested verifying that the GCode is correct as a first step. If it is, then the problem is with the machine. If you run the job twice, and the machine returns to the home position before the 2nd pass, it might be over-shooting and stopping when it hits the limit switches, and then the 2nd pass would end up in the correct place.