bed_mesh: add support for round beds

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2019-01-26 19:54:37 -05:00 committed by KevinOConnor
parent 542f941f07
commit cdcc320710
2 changed files with 136 additions and 39 deletions

View file

@ -117,6 +117,26 @@
# using a probe to home the z-axis, it is recommended to define
# a [homing_override] section in printer.cfg to home toward the
# center of the print area.
#
# Visual Examples:
# bed_shape = rectangular, probe_count = 3,3:
# x---x---x (max_point)
# |
# x---x---x
# |
# (min_point) x---x---x
#
# bed_shape = round, probe_count = 5, radius = r:
# x (0,r) end
# /
# x---x---x
# \
# (-r,0) x---x---x---x---x (r,0)
# \
# x---x---x
# /
# x (0,-r) start
#
#[bed_mesh]
#speed: 50
# The speed (in mm/s) of non-probing moves during the
@ -130,21 +150,34 @@
#sample_retract_dist: 2.0
# The distance (in mm) to retract between each sample if
# sampling more than once. Default is 2mm.
#bed_shape: rectangular
# Defines the shape of the bed for probing. May be 'rectangular',
# as is common for cartesian printers, or 'round', as is common for
# delta printers. Default is rectangular.
#radius:
# Defines the radius to probe when the bed_shape is 'round'. Note
# that the radius is relative to the nozzle's origin, if using a
# probe be sure to account for its offset. This parameter must be
# provided if the bed_shape is 'round'.
#min_point:
# An X,Y point defining the minimum coordinate to probe on
# the bed. Note that this refers to the nozzle position,
# and take care that you do not define a point that will move
# the probe off of the bed. This parameter must be provided.
# Defines the minimum x,y position to probe when the bed_shape
# is 'rectangular'. Note that this refers to the nozzle position,
# take care that you do not define a point that will move the
# probe off of the bed. This parameter must be provided.
#max_point:
# An X,Y point defining the maximum coordinate to probe on
# the bed. Follow the same precautions as listed in min_point.
# Defines the maximum x,y position to probe when the bed_shape
# is 'rectangular'. Follow the same precautions as listed in min_point.
# Also note that this does not necessarily define the last point
# probed, only the maximum coordinate. This parameter must be provided.
#probe_count: 3,3
# A comma separated pair of integer values (X,Y) defining the number
# of points to probe along each axis. A single value is also valid,
# in which case that value will be for both axes. Default is 3,3
# which probes a 3x3 grid.
## OR ##
#probe_count: 5
# For 'rectangular' beds, this is a comma separate pair of integer
# values (X,Y) defining the number of points to probe along each axis.
# A single value is also valid, in which case that value will be applied
# to both axes. 'Round' beds only accept a single integer value that is
# applied to both axes. The probe count must be odd for round beds.
# Default is 3,3 for 'rectangular' beds, and 5 for 'round' beds.
#fade_start: 1.0
# The gcode z position in which to start phasing out z-adjustment
# when fade is enabled. Default is 1.0.