[2.0.x] Add Z_AFTER_PROBING option (#10058)

Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-03-11 13:07:55 -05:00
1 parent dd19e74476
commit 28f1276286
70 files changed
+119 -10

No files matched your search

@@ -391,6 +391,7 @@
restore_ubl_active_state_and_leave();
}
do_blocking_move_to_xy(0.5 * (MESH_MAX_X - (MESH_MIN_X)), 0.5 * (MESH_MAX_Y - (MESH_MIN_Y)));
report_current_position();
}
#endif // HAS_BED_PROBE
@@ -428,6 +429,8 @@
}
probe_entire_mesh(g29_x_pos + X_PROBE_OFFSET_FROM_EXTRUDER, g29_y_pos + Y_PROBE_OFFSET_FROM_EXTRUDER,
parser.seen('T'), parser.seen('E'), parser.seen('U'));
report_current_position();
break;
#endif // HAS_BED_PROBE
@@ -475,6 +478,8 @@
SERIAL_PROTOCOLLNPGM("G29 P2 finished.");
report_current_position();
#else
SERIAL_PROTOCOLLNPGM("?P2 is only available when an LCD is present.");
@@ -758,6 +763,8 @@
} while (location.x_index >= 0 && --count);
STOW_PROBE();
move_z_after_probing();
restore_ubl_active_state_and_leave();
do_blocking_move_to_xy(