Mesh leveling with distinct points?
-
Hey everyone! Just playing around with my MINI clone, and I decided to go down a bit of a rabbit hole.
I noticed that when I am probing the bed, if I hit a magnet, it throws off my level just enough to be a pain. I've been playing around a bit and I can accurately hit the probe points that the heated bed has outlined specifically for the purpose of probing, and I assume this could be set in a mesh.g file but I'm not seeing anything about how to actually do this.
I cannot setup a simple mesh with a regular interval, the probe points don't follow a repetitive pattern. Ideally I need to simply define the points individually. Any ideas? Is the mesh.g file the right way to go?
-
The file mesh.g simply standardizes the name of the file holding the commands needed to create the height map.
We had bed.g which is run by G32 for bed leveling.
Now we have mesh.g which is run by G29 for creating the height map needed for mesh bed compensation.
Unless I missed it there is currently no way to specify an arbitrary pattern of points to be probe.
Search the "firmware wish list" category and see if someone has already posted a request.
Frederick
-
@fcwilt said in Mesh leveling with distinct points?:
Unless I missed it there is currently no way to specify an arbitrary pattern of points to be probe.
Is the restriction is on the probing process itself or does RRF also expects a grid pattern in the mesh file?
-
I think it's just that the G29 process expects a grid defined in M557 and there is no mechanism currently to pass it anything else.
It has been brought up before and there definitely is a valid use case for it to avoid magnets or other features of the bed.
One possible work around is to simply shift the grid over slightly to avoid the magnets which may work if they are in a uniform grid themselves.
I'll move this to the firmware wishlist. I'm sure there's been a few there already.
-
-
For now perhaps you can edit the heightmap.csv file and fix those points which have been caused by the magnets.
Frederick
-
Theoretically it's possible to write a utility program that will takes readings from arbitrary points and will export it as a grid compatible with RRF.
What this utility needs to do is to take the set of points, perform regression to some surface, then sample that surface at grid points and exports the grid to RRF as a .csv file.
If somebody here has a good mathematical background with this sort of things, I don't think it would be too difficult to write.
Alternatively, the program can take a dense mesh sampling with problematic points removed and then estimate them using neighboring points. Again, will require some mathematics.