Origin Z offset Problem

I have a situation where I need the origin to be below the top of the stock so that I can set the Z0 accurately to a known reference point. I am trying to use the Origin>Offset Z to move the Origin. The Origin in the display moves as expected and the preview looks correct, but the GCode generated always references the top of the stock as the origin instead of the offset Origin causing the bit to crash into the stock. The X and Y offsets are working as intended in the GCode. Only the Z axis offset is not working in my setup. I have added my workspace here so you can replicate if possible.

Here is the very beginning of the Gcode.

G21
G90
M6 T2
G0 Z5.0 F300
G0 X1.5900 Y1.5900 F800
G1 Z-0.1966 F100

On the last line I would expect the Z value to be something like 3.3. based on my workspace. The second to last line has the X and Y Origin offsets used as expected.
OriginZoffset.kmz (323.6 KB)

Thanks in advance for any help!

1 Like

this looks like a bug. I’ll work on a fix.

No problem, I can work around this issue with a little math. Do you prefer for bugs to be reported on GitHub? Thanks again!

yes, if you can report them as an issue and attach a workspace with the description, that would be very helpful. you might need to zip the .kmz to attach it. thanks

1 Like