Surfacemap Z compensation with Probe Basic

More
01 Aug 2025 16:32 - 01 Aug 2025 21:18 #332632 by --Matt--
I've got linuxcnc 2.9.3 installed on Debian 12 Bookworm with prempt RT kernel. I followed these instructions to install Probe Basic via apt.

kcjengr.github.io/probe_basic/stable_quick_start_apt.html
(Actually, I've tried both stable and dev versions).

I'd like to try Z-compensation via external offsets and was hoping to use surfacemap to automatically probe an XY grid of heights. (This is for PCB engraving on a mini mill).

Surfacemap is apparently implemented as a Probe Basic user tab:

github.com/zmrdko/01_surfacemap?tab=readme-ov-file

In the probe basic probing tabs I've had a few troubles with the entry boxes in the UI not accepting values. I think I managed to fix this problem by adding missing variables into the parameters files.

The surfacemap user tab seems to be giving me similar problems but I wasn't able to fix that just by adding parameters.

Has the surfacemap code perhaps been broken by the latest version of probe basic? Or had it perhaps never reached a fully working state?

Any other options for automated Z-level probing and compensation?
Last edit: 01 Aug 2025 21:18 by --Matt--.

Please Log in or Create an account to join the conversation.

More
02 Aug 2025 00:39 #332654 by DauntlessA
Replied by DauntlessA on topic Surfacemap Z compensation with Probe Basic
Hi,
I'm not too familiar with the integration into probe basic, but I'm pretty sure the surfacemap tab did work when it was released.

It's possible that posting your config might help narrow down any issues.
And can you show your halshow for the relevant pins when you believe it should be enabled?

Also, It is possible to use the compensation component standalone, with no involvement from probe basic, even if the process is slightly more manual.
Use the version from Scott's Repo and follow the instructions there:
github.com/scottalford75/LinuxCNC-3D-Pri.../master/compensation

For PCB milling, I think that this compensation component should work really well. Since the component is taking the current XY point and outputting compensation in Z, it's always 'playing catch-up' as the machine moves, but unless you're demanding very quick changes in the compensated value (think feeding fast over a rough surface) any deviation in the compensated position isn't really much of an issue.

I haven't tried any other compensation approaches, but G-Code Ripper with the Auto-Probe operation can warp your G-Code to the probed surface.
The version bundled with LinuxCNC is located in the /usr/lib/python3/dist-packages/qtvcp/lib/ripper/ directory (and you can run it standalone if you want).

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.062 seconds
Powered by Kunena Forum