Adaptive Mesh: Did I find an error?

I have 2 longer objects on the bed and as soon as the mesh would get created, Klipper runs into error.
bed_mesh: invalid probe_count option when using bicubic interpolation. Combination of 3 points on one axis with more than 6 on another is not permitted. Configured Probe Count: 3, 7
bed_mesh: invalid probe_count option when using bicubic interpolation. Combination of 3 points on one axis with more than 6 on another is not permitted. Configured Probe Count: 3, 7
How to fix this behavior?
No description
15 Replies
miklschmidt
miklschmidt2y ago
Yep i think you did find a bug. Please give this a shot (throw it in user overrides):
miklschmidt
miklschmidt2y ago
Original macro seems to be missing:
{% set mesh_count_x = ([min_mesh_count, mesh_count_x]|max)|int %}
{% set mesh_count_x = ([max_mesh_count, mesh_count_x]|min)|int %}
{% set mesh_count_y = ([min_mesh_count, mesh_count_y]|max)|int %}
{% set mesh_count_y = ([max_mesh_count, mesh_count_y]|min)|int %}
{% set mesh_count_x = ([min_mesh_count, mesh_count_x]|max)|int %}
{% set mesh_count_x = ([max_mesh_count, mesh_count_x]|min)|int %}
{% set mesh_count_y = ([min_mesh_count, mesh_count_y]|max)|int %}
{% set mesh_count_y = ([max_mesh_count, mesh_count_y]|min)|int %}
after the algorithm checks, so i added those.
Rigattoni
RigattoniOP2y ago
Okay, will try it later. Just now I "repaired" this issue by adding something else at the side... and excluded it from printing after the print started. Need to wait now for finishing this print.
Helge Keck
Helge Keck2y ago
i think this is wrong this would change a 3x6 mesh into a 6x6 mesh or am i seeing it wrong
miklschmidt
miklschmidt2y ago
it would limit x/y probe counts between min and max mesh count.
Helge Keck
Helge Keck2y ago
yes, original PAM did it a bit different
No description
Helge Keck
Helge Keck2y ago
howeveer, if it works it works
miklschmidt
miklschmidt2y ago
that's essentially exactly the same
Helge Keck
Helge Keck2y ago
no idea how i missed that
miklschmidt
miklschmidt2y ago
I think i actually pointed it out and then forgot about it again 😂
technofrikus
technofrikus2y ago
Thanks for reporting, had the same issue but didnt find the time to report it yet. I just turned the part 45 degrees
Rigattoni
RigattoniOP2y ago
The changed macro works as expected. Thanks for your fast support.
miklschmidt
miklschmidt2y ago
I'll push it 👍 I've pushed the change let me know if that solves it for you 🙂
technofrikus
technofrikus2y ago
Yes, works now 🙂 thanks! Sorry, took some time to find the time to test again.
Want results from more Discord servers?
Add your server