Skip to the content.

Heightmap / Surface Leveling

AstroCore can scan the surface of the CNC table by probing at multiple points and building a height map. This is useful when the table or workpiece is not perfectly flat — the height map allows the application to compensate for any unevenness by adjusting the Z axis in real time while running a program.

Setting up the grid

Before scanning, you need to define a grid — a mesh of probe points placed over the working area. The grid is configured in the heightmap panel: you set its position, size, and the number of probe points in each direction.

Scanning

Once the grid is configured, the Scan table function moves the tool to each grid vertex in sequence and probes the surface height at that point. The machine must be connected and the probe must be set up correctly before starting.

Heightmap scan in progress

Viewing the result

The scanned surface can be viewed in two ways:

Heightmap visualizer with markers

Manual editing

Any individual height value can be edited manually:

This is useful for correcting a bad probe reading or filling in a point that was not probed.

Interpolation

Between the probed grid points, the application interpolates the surface to compute the Z correction for any position in the working area. Several interpolation methods are available (Bicubic, Bilinear, Linear, Nearest Neighbour). Bicubic produces the smoothest result.

Bicubic interpolation