Surfacemap Z compensation with Probe Basic

More
04 Aug 2025 16:42 #332827 by Lcvette
Replied by Lcvette on topic Surfacemap Z compensation with Probe Basic
i found some really odd namings in the ui for the widgets, it is very confusing and appears to be unfinished or a the very least very poorly internally connected. i'm not sure where some of the parameters are coming from or if they were intended to be hard coded only in the var file or not. I don't think this is actually a finished project from the looks of it, at least not from the link you posted above. you may want to try contacting zmrdko.

from my scan through the ui, subroutines etc, things do not match up and widget names are duplicated as if copied and pasted but not correctly named so it's hard to follow the parsing flow correctly.

there is also no custom_config.yml setup instructions for the ui widgets to be stored in and saved and loaded on startup which means everytime you startup probe basic, those variables in the ui will be dumped and set to placeholder text (0.0000) which will be unsynchronized with the persistent var file data.

these are things that can be resolved in the upcoming release as i created a new var line edit widget that will not rely on subs to store and load variable from the var file.

some of the numbered parameters you listed above are linuxcnc params:

linuxcnc.org/docs/stable/html/gcode/over...:numbered-parameters

any params used in probe basic or any other add on would be between 3-5000 as these are user configurable parameters. anytime you see one 5001 or higher it will be a dedicated parameter used in linuxcnc.

I would say that this project is still a work in progress from my look into it.here is my mapping of everything, you could probably fix it and ask the developer for a pull request if you wanted, that would be the course i took,but as it stands i don't think you will be able to get it working as is.

 

 
Attachments:

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

More
04 Aug 2025 18:39 - 04 Aug 2025 18:46 #332837 by --Matt--
Replied by --Matt-- on topic Surfacemap Z compensation with Probe Basic
Thanks for taking the time to have a look, and for confirming my suspicion that the surfacemap code might not be complete.

Is there any prospect of an official probe_basic surface grid probing and z-compensation tab? Perhaps using scottalford75's z-compensation code via external offsets:

github.com/scottalford75/LinuxCNC-3D-Pri.../master/compensation

(I think this feature may already be included in QTDragon, although with compensation via g-code ripper rather than external offsets).

Sorry for possibly adding to your already no doubt long to-do list!
Last edit: 04 Aug 2025 18:46 by --Matt--.

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

More
04 Aug 2025 19:54 #332840 by Lcvette
Replied by Lcvette on topic Surfacemap Z compensation with Probe Basic
lol...that will not be in my todo list..lol that is an external offering. you could spend a couple hours and get it working. it is just a matter of editing the surface map ui file, subroutine update file, custom_config.yml, and getting all the widgets and what not in synch with expectation, once that is done it should work as expected. its a fairly simple setup regarding what is in probe basic. it is all usertab based so you do not need a dev install to perform the edits. everything is externally accessible via the existing qtdesigner stock installation (from terminal run: editvcp probe_basic, then select open and point at the surface map usertab directory and find the surface map ui file), a decent text editor such as vscode or sublime etc for the subroutines and yaml file updates. I have not looked at how it connected to the graphical portion, but i would imagine once the names all are correct it should work great. if you plan on using it you would have a much better grasp on how it is used than me as i have never used it before and haven't mentally imagined using it so the process flow is lost on me.

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

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