Firmware2/Marlin/src/gcode
Scott Lahteine 3bba7d60f3 No retroactive changes with M851 Z
If using babystep to adjust the Z probe offset, the axis will move and the mesh will be updated at the same time, causing a doubling of the Z offset over the rest of the print.

To correct for this, the current Z position would need to be modified in the opposite direction, canceling out the additional Z offset added to the mesh. This would be confusing to users, and moreover it would not be accurate without also taking the current Z fade level and current Z height into account.

It might make sense to change the mesh in the case where no babystepping is taking place, but this could be considered an undesirable side-effect of changing the `zprobe_zoffset`.

One way to remedy this would be to return to storing the mesh with `zprobe_zoffset` included, then subtracting `zprobe_zoffset` from the returned Z value. Thus, a babystep moving the Z axis up 1mm would subtract 1 from `zprobe_zoffset` while adding 1 to all mesh Z values.

Without including the `zprobe_zoffset` in the `z_values` there is no safe way to alter the mesh in conjunction with babystepping, although it's fine without it.
2017-11-18 03:36:39 -06:00
..
bedlevel Clarify some motion code 2017-11-08 22:15:55 -06:00
calibrate PROBE_MANUALLY etc. 2017-11-10 19:27:33 -06:00
config Merge pull request #8356 from tcm0116/2.0.x-M600 2017-11-10 19:44:08 -06:00
control Disable laser power when PWM goes to 0 2017-11-11 22:00:22 -06:00
eeprom boolval revisited (#8016) 2017-10-18 14:03:17 -05:00
feature Neopixel changes for parity with 1.1.x 2017-10-25 18:40:04 -05:00
geometry Miscellaneous cleanup 2017-11-16 00:47:16 -06:00
host Make sure leveled[] is defined for later use 2017-11-14 02:13:38 -06:00
lcd Add LCD_SET_PROGRESS_MANUALLY 2017-10-15 03:05:29 -05:00
motion No retroactive changes with M851 Z 2017-11-18 03:36:39 -06:00
probe No retroactive changes with M851 Z 2017-11-18 03:36:39 -06:00
scara Operate in Native Machine Space 2017-11-04 00:05:38 -05:00
sdcard Fix M32 P subroutine handling 2017-11-15 00:44:21 -06:00
stats Combine G-code files into fewer units 2017-09-23 18:12:04 -05:00
temperature Patches for compiler warnings/errors 2017-11-13 04:43:47 -06:00
units Move M82_M83 to cpp 2017-09-21 16:26:59 -05:00
gcode.cpp Fix get_destination_from_command for E 2017-11-08 12:54:00 -06:00
gcode.h Patch G33 misuse of PROBE_MANUALLY 2017-11-08 00:36:06 -06:00
parser.cpp Fix parser parameter value handling 2017-11-14 23:20:33 -06:00
parser.h Implement CNC_COORDINATE_SYSTEMS 2017-11-04 22:28:46 -05:00
queue.cpp Fix M32 P subroutine handling 2017-11-15 00:44:21 -06:00
queue.h Add gcode.cpp, motion.*, queue.* - Apply to some G-codes. 2017-09-21 16:26:45 -05:00