You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heightmap: position cells, grid sync, panel toggles
- Heightmap table cells now show XY position (small
text) above the measured height value
- HeightmapTableModel subscribes to Heightmap::changed
and resets automatically; uses setHeightAt() instead
of direct array access
- Grid parameters (size, Z range, probe feed,
interpolation step) sync to Heightmap model on change
- Program panel gains Program/Heightmap toggle buttons,
replacing the old external visibility API
- Visualizer auto-updates on heightmap change and adds
a "Toggle grid" toolbar button
- Default grid size changed from 1×1 to 5×5
- Cell colors adapt to dark/light theme
- Fix saveChanges() to check both gcode and heightmap
changes on window close
- Add heightmap user documentation page
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.
8
+
9
+
## Setting up the grid
10
+
11
+
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.
12
+
13
+
## Scanning
14
+
15
+
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.
16
+
17
+

18
+
19
+
## Viewing the result
20
+
21
+
The scanned surface can be viewed in two ways:
22
+
23
+
-**Visualizer** — the 3D view shows the heightmap as a colored surface overlaid on the working area. Colors represent height — from blue (low) to red (high). Height markers can be displayed at each probe point by enabling the marker overlay in the visualizer.
24
+
-**Heightmap table** — switching to the heightmap view in the program panel shows the probed values as a grid table. Each cell displays the X, Y position of the probe point and the measured height.
25
+
26
+

27
+
28
+
## Manual editing
29
+
30
+
Any individual height value can be edited manually:
31
+
32
+
- In the **visualizer** — click a height marker to edit its value directly.
33
+
- In the **table** — click any cell and type the new value.
34
+
35
+
This is useful for correcting a bad probe reading or filling in a point that was not probed.
36
+
37
+
## Interpolation
38
+
39
+
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.
0 commit comments