# Surface Height Map - Plugin

**URL:** <https://forum.sienci.com/t/surface-height-map-plugin/27464>\
**Category:** Plugins\
**Created:** [November 1, 2026, 6:55pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464 "2026-11-01T18:55:56Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 2, 2026, 10:55pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/21 "2026-11-02T22:55:29Z")

</div>

Since this is a calibration - the only thing that we know for sure is the machine coordinates - until we get the probe data we dont know where working Z0 is.

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 2, 2026, 11:01pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/22 "2026-11-02T23:01:27Z")

</div>

@bakStaaJ Sure I do. I put my workpiece on the spoilboard, zero the front left corner of the workpiece to determine workspace X0Y0Z0, and then probe from that corner to find any deviation from Z. That’s the only use case I would have.

---

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 2, 2026, 11:16pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/23 "2026-11-02T23:16:57Z")

</div>

Yeah - That isnt the use case I was chasing - I home the machine, Throw an unknow material on the bed anywhere and probe it. I dont need to worry about aligning it to a work coordinate first. I will have to think about how I can make it work for both. - Can you send me the full output of your $$ command

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 2, 2026, 11:20pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/24 "2026-11-02T23:20:47Z")

</div>

@bakStaaJ Sure, when I get back to my machine.

So how does the compensation mesh get applied a g-code file? Don’t they both need to have the same origin?

---

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 3, 2026, 12:23am UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/25 "2026-11-03T00:23:36Z")

</div>

> [@Chucky\_ott](#):
>
> So how does the compensation mesh get applied a g-code file? Don’t they both need to have the same origin?

1. When applying an NC file, it found the file’s minimum X/Y and changed **G54 X/Y** so those coordinates landed at the saved map origin. It accounted for G92 offsets and verified the controller saved the new G54 values.
2. It converted the file’s XY positions to machine coordinates and interpolated Z corrections from the saved grid.

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 12:34am UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/26 "2026-11-03T00:34:05Z")

</div>

@bakStaaJ So you do need a common reference point then. Presumably the front-left corner?

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 12:55am UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/27 "2026-11-03T00:55:56Z")

</div>

@bakStaaJ I did a height-map of the following 600x100 plywood sheet. Because the map works from back to front, I started the map at the rear-left of the workpiece.

 ![IMG_20261102_194711826](https://forum.sienci.com/uploads/default/original/2X/7/7d9b5e8c759fe9399e8be3c11c29b14170fe4e49.jpeg)

This is what I got for the map. It’s not clear how the map is oriented but I assume the corner labeled X is the top-right of the work piece.

 ![height_map_1](https://forum.sienci.com/uploads/default/original/2X/7/7904c52edd72362a8ff250bce647fe3a7febc8f0.jpeg)

My vCarve g-code was done from this file, also 600x100, with the origin at the bottom-left

 ![Screenshot 2026-11-02 195228](https://forum.sienci.com/uploads/default/original/2X/d/d90913b164888328a0fe92bd1266e805346c716b.png)

When I try to apply the compensation to the g-code, I get this error:

 ![height_map_2](https://forum.sienci.com/uploads/default/original/2X/7/776d4c9df4c8df72a2b3fd85f1036f9d5d9dfc27.jpeg)

No clue why it is giving that error since both are 600x100

---

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 3, 2026, 2:36am UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/28 "2026-11-03T02:36:59Z")

</div>

Yes - BTW - I rebuilt it using your process and WPOS - Give this a try - [gSender-Plugins/surface-height-map/v0.1.37 at main · bakstaaj/gSender-Plugins · GitHub](https://github.com/bakstaaj/gSender-Plugins/tree/main/surface-height-map/v0.1.37) I think it will be much closer to what you are thinking - I also think it will work for my original use cases. It still will align the lower left corner of the NC file with the lower left corner of the probe area to apply the mapping. I also use the initial WPOS Z0 as the unmapped area outside of the probed area so if the loaded NC file does not fit it still applies what it can.

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 7:56am UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/29 "2026-11-03T07:56:52Z")

</div>

@bakStaaJ I like the new features added to the interface.

Unfortunately, I get an error when loading the plugin.

 ![IMG_20261103_024901277](https://forum.sienci.com/uploads/default/original/2X/7/7f33b85b8f974988c402263c046d519eb202c6bc.jpeg)

Also, I noticed that the previous height map was loaded but it looked like this for some reason. I’m not sure where the yellow part comes from.

 ![IMG_20261103_024939144](https://forum.sienci.com/uploads/default/original/2X/6/6181cf86960e113108f3292e3d6a8c6d3e7c5291.jpeg)

---

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 3, 2026, 6:52pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/30 "2026-11-03T18:52:34Z")

</div>

I was not able to reproduce this - Can you re-download the v0.1.37 zip and re-install - When you are re-installing are you uninstalling the old plugin and then installing or just installing over the existing plugin? If it still happens try deleting the existing map - it thinks there is something missing in that map.

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 6:59pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/31 "2026-11-03T18:59:49Z")

</div>

@bakStaaJ I will go try deleting the map. I first did the upgrade, then a fresh reinstall.

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 7:04pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/32 "2026-11-03T19:04:12Z")

</div>

@bakStaaJ Deleting the saved mapped worked. I’ll try the new version shortly. Thanks

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 7:12pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/33 "2026-11-03T19:12:10Z")

</div>

@bakStaaJ Can’t start a calibration. Button remains light blue. If I click on “probe WPOS origin”, I get an alarm 2. If I return to the gSender carve menu, I can move to the WPOS which I already have set (front, left, top surface of material). Does “Probe WPOS origin” just get the current coordinates or does it set new values?

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 7:25pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/34 "2026-11-03T19:25:16Z")

</div>

@bakStaaJ The exact error is “Origin Fast probe (front left WPOS origin) was stopped by the controller…”

I assume that is a hard coded value somewhere?

---

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 3, 2026, 8:30pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/35 "2026-11-03T20:30:24Z")

</div>

Here is my workflow - Home the machine - open the plugin, Choose the corner of the material that I want to set as the orgin, jog the machine to it - then press the Probe WPOS origin, this measures the Z0 at that point and establishes X0,Y0 as the first probe point - this should then enable the calibration button to start probing. At the top there is a drop down for the log - can you copy that and send it to me - I am guessing that you had Z already at the stock surface so the probe was either already triggered or did not have enough space to move - I will need to add a Z retract before the WPOS probe to cover this scenerio. Still send the log so that I can tell for sure

 ![image](https://forum.sienci.com/uploads/default/original/2X/4/4ff29d03e5f38bfc86bbf44a0907aba9be81b04b.png)

---

<div class="post-metadata">

**Author:** ![bakStaaJ](https://forum.sienci.com/user_avatar/forum.sienci.com/bakstaaj/32/13121_2.png) [@bakStaaJ](https://forum.sienci.com/u/bakStaaJ)\
**Post date:** [November 3, 2026, 8:31pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/36 "2026-11-03T20:31:31Z")

</div>

The speeds for the fast and slow probes are configurable - everything else comes from the WPOS origin probe

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 8:41pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/37 "2026-11-03T20:41:15Z")

</div>

@bakStaaJ File sent. I just included the last three lines from the operation I just did.

My workflow is the same as yours. I just get Alarm 2 when clicking the Probe WPOS button

---

<div class="post-metadata">

**Author:** ![Chucky\_ott](https://forum.sienci.com/user_avatar/forum.sienci.com/chucky_ott/32/8692_2.png) [@Chucky\_ott](https://forum.sienci.com/u/Chucky_ott)\
**Post date:** [November 3, 2026, 9:44pm UTC](https://forum.sienci.com/t/surface-height-map-plugin/27464/38 "2026-11-03T21:44:41Z")

</div>

@bakStaaJ Alright! bakStaaj sent me a new version to try and it is working. Yay.

Here’s the carve done on the bent piece of plywood. Done flat in vCarve. Surface probed with the Height-Map plugin, g-code compensated for the curve, carve done.

(Yes, I know that vCarve, you can project a toolpath onto a curved surface. That wasn’t the point of this test. It’s really to surface map an uneven surface that you do not want to flatten)

A++

 ![IMG_20261103_164158708](https://forum.sienci.com/uploads/default/original/2X/6/6c26f1558b9dcacd1e1609e07344abad5fe4a2df.jpeg)

[Previous page](https://forum.sienci.com/t/surface-height-map-plugin/27464.md?page=1)
