z_tilt: Don't default "points" parameter to "z_positions" parameter
It's rare to have all the Z stepper locations directly under the printable surface, so using z_positions for points is not a good default. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
260d12af6d
commit
94dc8167c9
|
@ -77,8 +77,7 @@
|
|||
# etc. This parameter must be provided.
|
||||
#points:
|
||||
# A newline separated list of X,Y points that should be probed
|
||||
# during a Z_TILT_ADJUST command. The default is to use the same
|
||||
# positions described in z_positions.
|
||||
# during a Z_TILT_ADJUST command. This parameter must be provided.
|
||||
#speed: 50
|
||||
# The speed (in mm/s) of non-probing moves during the calibration.
|
||||
# The default is 50.
|
||||
|
|
|
@ -18,8 +18,7 @@ class ZTilt:
|
|||
except:
|
||||
raise config.error("Unable to parse z_positions in %s" % (
|
||||
config.get_name()))
|
||||
self.probe_helper = probe.ProbePointsHelper(
|
||||
config, self, default_points=self.z_positions)
|
||||
self.probe_helper = probe.ProbePointsHelper(config, self)
|
||||
self.z_steppers = []
|
||||
# Register Z_TILT_ADJUST command
|
||||
self.gcode = self.printer.lookup_object('gcode')
|
||||
|
|
Loading…
Reference in New Issue