When exporting gcode to run on a linuxcnc controlled diode laser it positions the work “negative”. The machine is set with origin front left, as are the test rectangles. When the code is generated the bounding box coordinates at the top of the file are correct (positive), but the actual cut moves are all negative. This place the work upside down and to the left of the origin (completely off the work surface. Have tried all sorts of origin and start from combinations to no avail. x-y reverse is not set.
Lightburn Pro 2.2.01, Windows 11. Custom machine using Linuxcnc gcode. All other aspects of the code are fine and will run on the machine fine if you play games with the start point, but you should not have to do it.
Looking at the gcode and running on a separate simulation computer both confirm the problem.
The machine is set up front left origin with +x and +y from there.
I don’t recall having this issue in the past but not sure which version of Lightburn it worked OK on as there have been a number of updates since I last used this particular laser with it. My other laser, Ruida controller, works fine.
Any insight appreciated. Thanks, Stephen
Test 2.gcode (623 Bytes)
Test 2.lbrn2 (2.9 KB)