@virtualbrown said in Heightmap, fill in missing data and interpolation:
@fcwilt this is my M557 line in my config:
M557 X0:200 Y0:200 S10 ; define mesh gridWhat will your macro do? Will it interpolate to missing data? Sorry, I’m only a couple weeks into all of this.
It will take the values you enter and set M557 to the best values it can given the limits of the area you can probe.
The code does make an assumption that your M208 command has specified the printable area of the bed. In some printers the M208 min/max values actually are outside the printable area to allow certain movements, such as changing a tool on a multi-tool printer.
Here is a version that allows for that:
As to interpolation I know of no reasonable and accurate way to do that.
There are some systems that have a probe that is in the exact same XY location as the nozzle. These, of course, don't have the issue of not being able to reach all points.
You can "probe" with the nozzle but the results are very unlikely to be accurate, and it would be tedious in the extreme.
Frederick