-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Rc bug fix - Fix for issue #2931 #3001
Conversation
I believe it's possible that the small change you propose could cause unexpected results. But maybe you can confirm that with your change these do what they are supposed to do:
There's been some effort to simplify these options a bit. The purpose of
Since Z is going to get raised and homed as part of this procedure anyway, I agree it makes the best sense to do the raise first. I just want to make sure that removing the Note that currently this ( Anyway, the number of options has begun to get confusing, so I proposed that we simplify them and just specify the clearance that a probe requires, then let Marlin figure how much to raise Z in each case… https://github.com/MarlinFirmware/MarlinDev/pull/366 |
I would definitely prefer a more comprehensive approach to solving the Z raise issues. This is just what I was using to get around the issue. If this can be addressed as part of a broader solution, simplifying the number of Z related options, that is a much better approach. |
Just marking this "Don't Merge" while we get some more testing and feedback on this. |
Rc bug fix - Fix for issue #2931
This change should fix issue #2931
If Z_SAFE_HOMING is set, then Z_RAISE_BEFORE_HOMING doesn't happen until after X and Y have been homed. This is actually unsafe on many printers. Disabling Z_SAFE_HOMING is also undesirable, because of the many benefits when using a head mounted Z probe, such as not probing when the probe isn't over the bed.
This change allows the Z raise before X and Y are homed, even if Z_SAFE_HOMING is set. The risk of raising Z before homing, is that if Z is already near max, and the Z_MAX_POS is too high, then it could be a problem. This is noted on the comment for Z_RAISE_BEFORE_HOMING. The risk of not raising Z before homing X and Y, is that the Z probe and head may be crashed through bed leveling knobs, screws, clips, etc. on the way to X and Y home if the head was already at 0, or the head was out of bounds.
I believe that raising Z before homing X & Y (when that is set) is better than homing X and Y first, then raising Z anyway, which is how it works with Z_SAFE_HOMING set in the current RcBugFix branch.