Why is there no Y axis movement?

Created a simple star shape with an offset and wanting to do a fill toolpath. Preview looks good. I wanted to try running this on another platform, so I saved the gcode file. After looking at the gcode file, there is basically no Y movement in the program so it just rasters in X.
Do I need to be connected to my laser (GRBL) to get an accurate gcode save? I have attached both Lightburn file and saved gcode file.

star.lbrn (7.9 KB)
star.txt (39.7 KB)

Just looking at the gcode file, there are plenty of Y moves. Every 6 lines or so it would appear.

Yeah loads of Y’s but all 0.006.

I saved the file as an SVG, loaded it in to LaserGRBL and then saved the resulting code, and the Y’s are all there by the look of it.

Here’s part of it.

G90
M5
X46.6Y395.31
M4 S255
G1X35.66Y395.32F900
X32.27Y405.71
X32.03Y406.33
X31.73Y406.91
X31.38Y407.46
X30.97Y407.95
X30.52Y408.4
X30.02Y408.81
X29.49Y409.15
X28.92Y409.44
X28.32Y409.68
X27.69Y409.85
X27.05Y409.95
X26.38Y409.99
X25.72Y409.95
X25.07Y409.85
X24.45Y409.68
X23.85Y409.44
X23.28Y409.15
X22.75Y408.8
X22.25Y408.4
X21.8Y407.95
X21.39Y407.45
X21.04Y406.91
X20.74Y406.33
X20.5Y405.71
X17.1Y395.3
X6.19

Thanks for looking and as Stuart says, there are lots of Y moves but all to the same location which makes no sense.
The results from LaserGRBL make more sense.
I did not try and run the file from Lightburn, but if I did, I would expect it to work just fine as I have not had any issues with running from the software. Must be some issue with the save gcode option.
Hopefully Oz will see this and reply.

I discovered what was going on. It was my mistake and not Lightburn’s. As I had stated in the original post, I was going to test this file in another platform and in the process I had changed G91 to G90 resulting in absolute moves instead of the relative moves that the Lightburn software had created.

LightBurn does relative moves for scans because it generally ends up producing smaller GCode.

Good to know, I noticed that even when using Absolute mode, that after the initial move to location, it switches to relative moves to do the scan,
Thanks Oz!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.