Skip to content
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

Feature Request: mesh best fit tilt #214

Open
lukeslaboratory opened this issue Apr 23, 2024 · 1 comment
Open

Feature Request: mesh best fit tilt #214

lukeslaboratory opened this issue Apr 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lukeslaboratory
Copy link

I like big prints, I cannot lie

When doing a tilt, the 3 points that are chosen form a plane, but they may not be the most representative of the total print area (make this dynamic for bonus points???)

My request is with the rapid adoption of beacon3d and its imitators, that klipper support a "quick mesh" option, generate a best fit plane off of that mesh, and then tilt the bed to fit that best fit mesh until variance from the baseline meets criteria. This allows the average deviation of the bed to be used instead of 3 ideally (but not always) representative points that may reduce z travel over very large prints with very large printers.

Thanks!

Luke

@lraithel15133 lraithel15133 added the enhancement New feature or request label Apr 27, 2024
@lraithel15133
Copy link
Contributor

lraithel15133 commented Apr 27, 2024

First draft for a process for this I think is like this:

  1. Rough z tilt
  2. Perform bed mesh, calculate best fit plane from mesh (giga brain math? resulting plane with largest area under specified max z deviation)
  3. Specify new z tilt positions based on the corners of the new best fit plane
  4. Adjust Z steppers to converge on one z position
  5. Verify we are within tolerance and if not, repeat step 2 onwards.

I think we should have a minimum plane area parameter, and max deviation within the plane parameter? I am sure there is a lot missing/wrong here, because this math is way over my head but someone can build on it or something. I'm not sure if we'd actually have to recalculate the best fit plane multiple times. I think its breaking my brain trying to think of what happens if we don't?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants