@JKonopacki said in Height map has a substantial Z offset error with mesh:

The mesh values are generated by using the "built in" mesh compensation routine P0.

Are you talking about the symbol below the P0?

There is no built-in routine - that symbol just executes a G32 command which in turn invokes bed.g.

The intended purpose of bed.g is to implement one of the bed leveling features.

Somehow a lot of folks end up using it for mesh bed compensation which is something else entirely.

If it behaves differently it has something to do with your code.

Frederick