probe: Support activate/deactivate scripts on each probe

Allow a set of g-code scripts to be run on each probe invocation.
This may be useful for probes that need to be setup before they are
useful (eg, with servo actuated probes).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-01-23 12:26:18 -05:00
parent 3001a089c0
commit e38c7df064
4 changed files with 43 additions and 0 deletions

View file

@ -15,6 +15,15 @@
#z_position: 0.0
# The Z position to command the head to move to during a PROBE
# command. The default is 0.
#activate_gcode:
# A list of G-Code commands (one per line) to execute prior to each
# probe attempt. This may be useful if the probe needs to be
# activated in some way. The default is to not run any special
# G-Code commands on activation.
#deactivate_gcode:
# A list of G-Code commands (one per line) to execute after each
# probe attempt completes. The default is to not run any special
# G-Code commands on deactivation.
# Bed tilt compensation. One may define a [bed_tilt] config section to