-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bed mesh algorithm for 3 point bicubic algorightm #5296
Fix bed mesh algorithm for 3 point bicubic algorightm #5296
Conversation
So I've been checking out how KAMP does it
So they take the max of points X and points Y and if either is >6 -> use Bicubic. So for Orca should this snippet be?
|
According to Klipper doc, this is also wrong. I think the previous Just that the min points check need to be changed.
|
…lagrange-interpolation
…ithub.com/igiannakas/OrcaSlicer into Bed-mesh-fixes-for-lagrange-interpolation
OK I think it's done (?). Git has been a bit slow and difficult this evening for some reason |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Fixes #4875, #4694
Checks the below conditions for Klipper firmware:
This appears consistent with the Klipper documentation below and the KAMP implementation.
algorithm: lagrange
Default Value: lagrange
The algorithm used to interpolate the mesh. May be lagrange or bicubic. Lagrange interpolation is capped at 6 probed points as oscillation tends to occur with a larger number of samples. Bicubic interpolation requires a minimum of 4 probed points along each axis, if less than 4 points are specified then lagrange sampling is forced. If mesh_pps is set to 0 then this value is ignored as no mesh interpolation is done.