apply correction when swtiching from MBL to physical in G28 X #4199
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using Mesh Bed Leveling, with a servo probe, when G28 X is iissued by the slicer, the hot tip MAY drill a hole in the printed part...
See https://github.com/lrpirlet/Marlin/tree/MMBL_2_for_lrp for the complete environment... (sources, configuration and log file).
Please examine the lines 7268..7270 In the Repetier log.
the Z current position is 5.10mm... we add 3.00mm in line 7269... we get 7.33 mm...
Obliviously there is matter to question... The answer is in the fact that the MBL was cancelled and NO CORRECTION WAS APPLIED when switching to physical coordinates.
@epatel Do I have it right when I think that only Z is modified when switching from MBL to physical coordinates?
@Roxy-3D Maybe something you want to take care of...
Note: the number beteewn the time and the debug message is the line number (LINE) in Marlin_main... Source available.
I suggest this PR as the solution... (works for me).