KlipperDelta配置文件,针脚适配于MKS BASE1.4主板

虚拟SD卡文件,GCODE文件路径适用于Mainsail控制面板
连杆长度,限位开关位置,打印范围之类的需要自己用塞纸法自动校准一下
[mcu]
serial:/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AL00PU19-if00-port0
# 连接到单片机的串行通讯接口
# 如果你不确定的话(或可能它变更拉了),可以查看FAQ中的
# “Where's my serial port?”章节。
# 当使用串口时,这个参数必须给定
baud: 250000
# 使用的波特率。默认是250000
#canbus_uuid:
# 如果使用一个连接到CAN总线的设备,这个参数需要被设置为
# 要连接的芯片的唯一ID。
# 当使用CAN总线时,这个参数必须给定
#canbus_interface:
# 当使用的设备连接到CAN总线时,这个参数需要被设置为
# 使用的网络接口
# 默认值是can0
restart_method:arduino
# 这个参数控制着重置单片机的方式
# 可选项是'arduino'、'cheetah'、'rpi_usb'和'command'
# 'arduino'方法(翻转DTR)通常适用于Arduino板或其克隆板
# 'cheetah'方法是一个特殊的方法,通常适用于一些富源盛的Cheetah板
# 'rpi_usb'方法对于使用树莓派的USB供电的单片机十分有效
# 它简单地关闭所有USB端口的电源来完成单片机的重置
# 'command'方法调用向单片机发送klipper命令来重置它们自己
# 当单片机连接到串口时默认是'arduino',否则默认是'command'
[virtual_sdcard]
path: /home/user/printer_data/gcodes
# The path of the local directory on the host machine to look for
# g-code files. This is a read-only directory (sdcard file writes
# are not supported). One may point this to OctoPrint's upload
# directory (generally ~/.octoprint/uploads/ ). This parameter must
# be provided.
#on_error_gcode:
# A list of G-Code commands to execute when an error is reported.
[gcode_macro PAUSE]
description: Pause the actual running print
rename_existing: PAUSE_BASE
gcode:
PAUSE_BASE
_TOOLHEAD_PARK_PAUSE_CANCEL
[gcode_macro RESUME]
description: Resume the actual running print
rename_existing: RESUME_BASE
gcode:
##### read extrude from _TOOLHEAD_PARK_PAUSE_CANCEL macro #####
{% set extrude = printer['gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL'].extrude %}
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
{% if printer.extruder.can_extrude|lower == 'true' %}
M83
G1 E{extrude} F2100
{% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %}
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
variable_park: True
gcode:
## Move head and retract only if not already in the pause state and park set to true
{% if printer.pause_resume.is_paused|lower == 'false' and park|lower == 'true'%}
_TOOLHEAD_PARK_PAUSE_CANCEL
{% endif %}
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
[gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL]
description: Helper: park toolhead used in PAUSE and CANCEL_PRINT
variable_extrude: 1.0
gcode:
##### set park positon for x and y #####
# default is your max posion from your printer.cfg
{% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
{% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
{% set z_park_delta = 2.0 %}
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% if act_z < (max_z - z_park_delta) %}
{% set z_safe = z_park_delta %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
{% if printer.extruder.can_extrude|lower == 'true' %}
M83
G1 E-{extrude} F2100
{% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %}
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G91
G1 Z{z_safe} F900
G90
G1 X{x_park} Y{y_park} F6000
{% if printer.gcode_move.absolute_coordinates|lower == 'false' %} G91 {% endif %}
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
[pause_resume]
recover_velocity: 100
# 当捕捉/恢复功能被启用时,返回到捕获的位置的速度(单位:毫米/秒)。
# 默认为50.0 mm/s。
#[gcode_macro 命令] 。
#gcode:
# 一个替代"命令" 执行的 G 代码命令的列表。请看
# docs/Command_Templates.md 了解支持的 G 代码格式。
# 必须提供此参数。
#variable_<名称>:
# 可以指定任意数量的带有"变量_"前缀的设置。
# 定义的变量名将被赋予给定的值(并被解析为作为一个
# Python Literal),并在宏扩展时可用。
# 例如,一个带有"variable_fan_speed = 75"的 G-Code 命令的
# G 代码列表中可以包含"M106 S{ fan_speed * 255 }"。变量
# 可以在运行时使用 SET_GCODE_VARIABLE 命令进行修改
# (详见docs/Command_Templates.md)。变量名称
# 不能使用大写字母。
#rename_existing:
# 这个选项将导致宏覆盖一个现有的 G-Code 命令,并通过
# 这里提供的名称引用该命令的先前定义。覆盖命令时应注
# 意,因为它可能会导致复杂和意外的错误。
# 默认不覆盖现有的 G-Code 命令。
#description: G-Code macro
# 在 HELP 命令或自动完成中使用的简单描述。
# 默认为"G-Code macro"。
[input_shaper]
#shaper_freq_x: 0
# 输入整形器的 X 轴频率(Hz)。通常这是希望被输入整形器消除的
# X 轴共振频率。对于更复杂的整形器,例如2- 和 3-hump EI 输入
# 整形器,设置这个参数可能需要考虑其他特性。
# 默认值是0,禁用 X 轴输入整形。
#shaper_freq_y: 0
# 输入整形器的 Y 轴频率(Hz)。通常这是希望被输入整形器消除的
# Y 轴共振频率。对于更复杂的整形器,例如2- 和 3-hump EI 输入
# 整形器,设置这个参数可能需要考虑其他特性。
# 默认值是0,禁用 Y 轴输入整形。
#shaper_type: mzv
# 用于 X 和 Y 轴的输入整形器。支持的输入整形器有 zv、mzv、
# zvd、ei、2hump_ei 和 3hump_ei。
# 默认为 mzv 输入整形器。
#shaper_type_x:
#shaper_type_y:
# 如果没有设置 shaper_type,可以用这两个参数来单独配置 X
# 和 Y 轴的 输入整形器。
# 该参数支持全部shaper_type 支持的选项。
#damping_ratio_x: 0.1
#damping_ratio_y: 0.1
# X 和 Y 轴的共振抑制比例,可以用来改善振动抑制效果。
# 默认值是 0.1,适用于大多数打印机。
# 大多数情况下不需要调整这个值。
#[adxl345]
#cs_pin:
# 传感器的 SPI 启用引脚。
# 必须提供此参数。
#spi_speed: 5000000
# 与芯片通信时使用的SPI速度(hz)。
# 默认为5000000。
#spi_bus:
#spi_software_sclk_pin:
#spi_software_mosi_pin:
#spi_software_miso_pin:
# 参见"常见的SPI设置"章节,以了解对上述参数的描述。
#axes_map: x, y, z
# 打印机的X、Y和Z轴的加速度计轴。
# 如果加速度计的安装方向与打印机的方向不一致,
# 可能需要修改该设定。
# 例如,可以将其设置为"y, x, z"来交换X和Y轴。
# 如果加速度计方向是相反的,可能需要反转相应轴
# (例如,"x, z, -y")。
# 默认是"x, y, z"。
#rate: 3200
# ADXL345的输出数据速率。ADXL345支持以下数据速率。
# 3200、1600、800、400、200、100、50和25。请注意,不建议
# 将此速率从默认的3200改为低于800的速率,这将大大影响
# 共振测量的质量。
#--------------------------------------------------------------------
[printer]
kinematics:delta
max_z_velocity:500
max_z_accel:3000
#delta_radius:166.30
print_radius:192.4
# The type of printer in use. This option may be one of: cartesian,
# corexy, corexz, hybrid_corexy, hybrid_corexz, rotary_delta, delta,
# deltesian, polar, winch, or none. This parameter must be specified.
max_velocity:2000
# Maximum velocity (in mm/s) of the toolhead (relative to the
# print). This parameter must be specified.
max_accel:4500
# Maximum acceleration (in mm/s^2) of the toolhead (relative to the
# print). This parameter must be specified.
#max_accel_to_decel:
# A pseudo acceleration (in mm/s^2) controlling how fast the
# toolhead may go from acceleration to deceleration. It is used to
# reduce the top speed of short zig-zag moves (and thus reduce
# printer vibration from these moves). The default is half of
# max_accel.
#square_corner_velocity: 5.0
# The maximum velocity (in mm/s) that the toolhead may travel a 90
# degree corner at. A non-zero value can reduce changes in extruder
# flow rates by enabling instantaneous velocity changes of the
# toolhead during cornering. This value configures the internal
# centripetal velocity cornering algorithm; corners with angles
# larger than 90 degrees will have a higher cornering velocity while
# corners with angles less than 90 degrees will have a lower
# cornering velocity. If this is set to zero then the toolhead will
# decelerate to zero at each corner. The default is 5mm/s.
[stepper_a]
#position_endstop:184
#arm_length:325.95
step_pin:PF0
# Step 的 GPIO 引脚 (triggered high)。这个参数必须指定。
dir_pin:PF1
# dir 的 GPIO 引脚 (high indicates positive direction).
# 这个参数必须指定.
enable_pin:!PD7
# Enable pin (default is enable high; use ! to indicate enable
# low). If this parameter is not provided then the stepper motor
# driver must always be enabled.
rotation_distance:40
# Distance (in mm) that the axis travels with one full rotation of
# the stepper motor (or final gear if gear_ratio is specified).
# This parameter must be provided.
microsteps:16
# The number of microsteps the stepper motor driver uses. This
# parameter must be provided.
full_steps_per_rotation: 200
# The number of full steps for one rotation of the stepper motor.
# Set this to 200 for a 1.8 degree stepper motor or set to 400 for a
# 0.9 degree motor. The default is 200.
#gear_ratio:
# The gear ratio if the stepper motor is connected to the axis via a
# gearbox. For example, one may specify "5:1" if a 5 to 1 gearbox is
# in use. If the axis has multiple gearboxes one may specify a comma
# separated list of gear ratios (for example, "57:11, 2:1"). If a
# gear_ratio is specified then rotation_distance specifies the
# distance the axis travels for one full rotation of the final gear.
# The default is to not use a gear ratio.
#step_pulse_duration:
# The minimum time between the step pulse signal edge and the
# following "unstep" signal edge. This is also used to set the
# minimum time between a step pulse and a direction change signal.
# The default is 0.000000100 (100ns) for TMC steppers that are
# configured in UART or SPI mode, and the default is 0.000002 (which
# is 2us) for all other steppers.
endstop_pin:PE4
# Endstop switch detection pin. If this endstop pin is on a
# different mcu than the stepper motor then it enables "multi-mcu
# homing". This parameter must be provided for the X, Y, and Z
# steppers on cartesian style printers.
#position_min: -2
# Minimum valid distance (in mm) the user may command the stepper to
# move to. The default is 0mm.
#position_endstop:0
# Location of the endstop (in mm). This parameter must be provided
# for the X, Y, and Z steppers on cartesian style printers.
#position_max:0
# Maximum valid distance (in mm) the user may command the stepper to
# move to. This parameter must be provided for the X, Y, and Z
# steppers on cartesian style printers.
homing_speed: 150
# Maximum velocity (in mm/s) of the stepper when homing. The default
# is 5mm/s.
homing_retract_dist: 15
# Distance to backoff (in mm) before homing a second time during
# homing. Set this to zero to disable the second home. The default
# is 5mm.
homing_retract_speed:80
# Speed to use on the retract move after homing in case this should
# be different from the homing speed, which is the default for this
# parameter
#second_homing_speed:
# Velocity (in mm/s) of the stepper when performing the second home.
# The default is homing_speed/2.
#homing_positive_dir:
# If true, homing will cause the stepper to move in a positive
# direction (away from zero); if false, home towards zero. It is
# better to use the default than to specify this parameter. The
# default is true if position_endstop is near position_max and false
# if near position_min.
[stepper_b]
#position_endstop:184
#arm_length:325.95
step_pin:PF6
dir_pin:PF7
enable_pin:!PF2
rotation_distance:40
microsteps:16
full_steps_per_rotation: 200
#gear_ratio:
#step_pulse_duration:
endstop_pin:PJ0
#position_min: -2
#position_endstop:0
#position_max:159.07
homing_speed: 150
homing_retract_dist: 15
homing_retract_speed:80
[stepper_c]
#position_endstop:184
#arm_length:325.95
step_pin:PL3
dir_pin:PL1
enable_pin:!PK0
rotation_distance:40
microsteps:16
full_steps_per_rotation: 200
#gear_ratio:
#step_pulse_duration:
endstop_pin:PD2
#position_min: -2
#position_endstop:0
#position_max:159.07
homing_speed: 150
homing_retract_dist: 15
homing_retract_speed:80
[delta_calibrate]
radius:110
# 可以探测到的区域的半径(mm)。这是要探测的喷嘴坐标的半径;
# 如果使用自动探针有一个XY偏移,那么需要选择一个足够小的半径,使
# 探针总是在打印床上探测。
# 必须提供此参数。
speed: 200
# 校准过程中非探测移动的速度(单位:mm/s)。
# 默认为50。
horizontal_move_z: 20
# 在开始探测操作之前,探针应被命令移动到的高度(以毫米为单位)。
# 默认值为5。
[extruder]
step_pin:PA4
dir_pin:PA6
enable_pin:!PA2
microsteps:16
rotation_distance:25.12
gear_ratio:50:17
full_steps_per_rotation:200
max_power:1.0
pressure_advance:0.089
#gear_ratio:
# 以上参数详见“stepper”配置分段。
# 如果未指定任意上述参数,则没有步进电机与热端相关联
# (尽管使用SYNC_EXTRUDER_MOTION命令可能可以在运行时关联一个热端)
nozzle_diameter:0.6
# 喷嘴的孔径(以毫米为单位)
# 必须提供这个参数。
filament_diameter:1.75
# 进入挤出机的耗材上标的直径(以毫米为单位)
# 必须提供这个参数。
#max_extrude_cross_section:
# 挤出线条横截面的最大面积(以平方毫米为单位)
# (例如:挤出线宽乘层高)
# 这个设置能防止在相对较小的XY移动时产生过度的挤出
# 如果一个挤出速率请求超过了这个值,这会导致返回一个错误
# 默认值是:4.0 * 喷嘴直径 ^ 2
#instantaneous_corner_velocity: 1.000
# 两次挤出之间最大的速度变化(以毫米每秒为单位)
# 默认值是:1mm/s
#max_extrude_only_distance: 50.0
# 一次挤出或回抽的最大长度(以毫米耗材的长度为单位)
# 如果一次挤出或回抽超过了这个值,这会导致返回一个错误
# 默认值是:50mm
#max_extrude_only_velocity:6000
#max_extrude_only_accel:6000
# 最大的挤出和回抽速度(以毫米每秒为单位)
# 和加速度(以毫米每二次方秒为单位)
# 这些设置对正常打印的移动没有任何影响
# 如果未指定,则会计算来匹配 XY打印速度和挤出线横截面为4.0 * 喷嘴直径 ^ 2的限制
#pressure_advance: 0.0
# 挤出机加速过程中耗材被挤入的数量
# 同等数量的耗材会在减速过程中收回
# 这个值以毫米每毫米每秒测量
# 关闭压力提前时默认值是0
#pressure_advance_smooth_time: 0.040
# A time range (in seconds) to use when calculating the average
# extruder velocity for pressure advance. A larger value results in
# smoother extruder movements. This parameter may not exceed 200ms.
# This setting only applies if pressure_advance is non-zero. The
# default is 0.040 (40 milliseconds).
#
# The remaining variables describe the extruder heater.
heater_pin:PB4
# PWM output pin controlling the heater. This parameter must be
# provided.
#max_power: 1.0
# The maximum power (expressed as a value from 0.0 to 1.0) that the
# heater_pin may be set to. The value 1.0 allows the pin to be set
# fully enabled for extended periods, while a value of 0.5 would
# allow the pin to be enabled for no more than half the time. This
# setting may be used to limit the total power output (over extended
# periods) to the heater. The default is 1.0.
sensor_type:NTC 100K MGB18-104F39050L32
# Type of sensor - common thermistors are "EPCOS 100K B57560G104F",
# "ATC Semitec 104GT-2", "ATC Semitec 104NT-4-R025H42G", "Generic
# 3950","Honeywell 100K 135-104LAG-J01", "NTC 100K MGB18-104F39050L32",
# "SliceEngineering 450", and "TDK NTCG104LH104JT1". See the
# "Temperature sensors" section for other sensors. This parameter
# must be provided.
sensor_pin:PK5
# Analog input pin connected to the sensor. This parameter must be
# provided.
#pullup_resistor: 4700
# The resistance (in ohms) of the pullup attached to the thermistor.
# This parameter is only valid when the sensor is a thermistor. The
# default is 4700 ohms.
#smooth_time: 1.0
# A time value (in seconds) over which temperature measurements will
# be smoothed to reduce the impact of measurement noise. The default
# is 1 seconds.
#control:pid
# Control algorithm (either pid or watermark). This parameter must
# be provided.
#pid_Kp:26.77
#pid_Ki:3.8
#pid_Kd:47.16
# The proportional (pid_Kp), integral (pid_Ki), and derivative
# (pid_Kd) settings for the PID feedback control system. Klipper
# evaluates the PID settings with the following general formula:
# heater_pwm = (Kp*error + Ki*integral(error) - Kd*derivative(error)) / 255
# Where "error" is "requested_temperature - measured_temperature"
# and "heater_pwm" is the requested heating rate with 0.0 being full
# off and 1.0 being full on. Consider using the PID_CALIBRATE
# command to obtain these parameters. The pid_Kp, pid_Ki, and pid_Kd
# parameters must be provided for PID heaters.
#max_delta: 2.0
# On 'watermark' controlled heaters this is the number of degrees in
# Celsius above the target temperature before disabling the heater
# as well as the number of degrees below the target before
# re-enabling the heater. The default is 2 degrees Celsius.
#pwm_cycle_time: 0.100
# Time in seconds for each software PWM cycle of the heater. It is
# not recommended to set this unless there is an electrical
# requirement to switch the heater faster than 10 times a second.
# The default is 0.100 seconds.
#min_extrude_temp: 170
# The minimum temperature (in Celsius) at which extruder move
# commands may be issued. The default is 170 Celsius.
min_temp:0
max_temp:400
# The maximum range of valid temperatures (in Celsius) that the
# heater must remain within. This controls a safety feature
# implemented in the micro-controller code - should the measured
# temperature ever fall outside this range then the micro-controller
# will go into a shutdown state. This check can help detect some
# heater and sensor hardware failures. Set this range just wide
# enough so that reasonable temperatures do not result in an error.
# These parameters must be provided.
#
[heater_bed]
#control:pid
heater_pin:PH5
sensor_type:NTC 100K MGB18-104F39050L32
sensor_pin:PK6
#control:pid
#pid_Kp:1
#pid_Ki:1
#pid_Kd:1
min_temp:0
max_temp:220
#pid_kp:52.195
#pid_ki:3.663
#pid_kd:185.944
[fan]
pin:PH6
# Output pin controlling the fan. This parameter must be provided.
#max_power: 1.0
# The maximum power (expressed as a value from 0.0 to 1.0) that the
# pin may be set to. The value 1.0 allows the pin to be set fully
# enabled for extended periods, while a value of 0.5 would allow the
# pin to be enabled for no more than half the time. This setting may
# be used to limit the total power output (over extended periods) to
# the fan. If this value is less than 1.0 then fan speed requests
# will be scaled between zero and max_power (for example, if
# max_power is .9 and a fan speed of 80% is requested then the fan
# power will be set to 72%). The default is 1.0.
#shutdown_speed: 0
# The desired fan speed (expressed as a value from 0.0 to 1.0) if
# the micro-controller software enters an error state. The default
# is 0.
#cycle_time: 0.010
# The amount of time (in seconds) for each PWM power cycle to the
# fan. It is recommended this be 10 milliseconds or greater when
# using software based PWM. The default is 0.010 seconds.
#hardware_pwm: False
# Enable this to use hardware PWM instead of software PWM. Most fans
# do not work well with hardware PWM, so it is not recommended to
# enable this unless there is an electrical requirement to switch at
# very high speeds. When using hardware PWM the actual cycle time is
# constrained by the implementation and may be significantly
# different than the requested cycle_time. The default is False.
#kick_start_time: 0.100
# Time (in seconds) to run the fan at full speed when either first
# enabling or increasing it by more than 50% (helps get the fan
# spinning). The default is 0.100 seconds.
#off_below: 0.0
# The minimum input speed which will power the fan (expressed as a
# value from 0.0 to 1.0). When a speed lower than off_below is
# requested the fan will instead be turned off. This setting may be
# used to prevent fan stalls and to ensure kick starts are
# effective. The default is 0.0.
#
# This setting should be recalibrated whenever max_power is adjusted.
# To calibrate this setting, start with off_below set to 0.0 and the
# fan spinning. Gradually lower the fan speed to determine the lowest
# input speed which reliably drives the fan without stalls. Set
# off_below to the duty cycle corresponding to this value (for
# example, 12% -> 0.12) or slightly higher.
#tachometer_pin:
# Tachometer input pin for monitoring fan speed. A pullup is generally
# required. This parameter is optional.
#tachometer_ppr: 2
# When tachometer_pin is specified, this is the number of pulses per
# revolution of the tachometer signal. For a BLDC fan this is
# normally half the number of poles. The default is 2.
#tachometer_poll_interval: 0.0015
# When tachometer_pin is specified, this is the polling period of the
# tachometer pin, in seconds. The default is 0.0015, which is fast
# enough for fans below 10000 RPM at 2 PPR. This must be smaller than
# 30/(tachometer_ppr*rpm), with some margin, where rpm is the
# maximum speed (in RPM) of the fan.
#enable_pin:
# Optional pin to enable power to the fan. This can be useful for fans
# with dedicated PWM inputs. Some of these fans stay on even at 0% PWM
# input. In such a case, the PWM pin can be used normally, and e.g. a
# ground-switched FET(standard fan pin) can be used to control power to
# the fan.
[bed_mesh]
speed: 150
# 校准期间非探测移动的速度(mm/s)
# 默认是 50.
#horizontal_move_z: 5
# 在探测中喷头的高度单位是mm
# 默认值是5
mesh_radius:110
# 定义探测圆形热床的网格半径
# 半径是相对于mesh_origin指定的坐标
# 此选项只适用于圆形热床
#mesh_origin:
# 定义圆形热床的中心X Y坐标
# 此坐标相对于探头的位置
# 调整 mesh_origin可能会对最大化mesh_radius有帮助
# 默认值是0,0
# 此选项只适用于圆形热床
#mesh_min:
# 定义矩形热床的最小X Y 坐标
# 这个坐标是相对于
# 这是探测的第一个点在原点附近
# 矩形热床必须要提供此参数
#mesh_max:
# 定义矩形热床的最大X Y 坐标
# 与mesh_min相同但是这将是离床的原点最远的探测点
# 矩形热床必须要提供此参数
#probe_count: 3, 3
# 对于矩形热床,这个逗号分开了在X Y 轴需要探测的点数
# 单个值也是有效的,在这个情况下值会被应用到两个轴
# 默认值是 3, 3
round_probe_count: 5
# 对于圆形热床,这个值去定义了每个轴最大的探测点的数量
# 这个值必须要是奇数
# 默认值是 5
#fade_start: 1.0
# 启用fade_start时开始分阶段调整的gcode z位置
# 默认值是 1.0.
#fade_end: 0.0
# 在完成渐变后的gcode z 位置
# 当值比 fade_start低的时候会禁用此功能
# 注意这个功能可能会在打印的时候往z轴添加不需要的缩放
# 如果希望启用过度那么, 推荐值为10.0
# 默认值是 0.0 不启用过度
#fade_target:
# 淡化应该聚集的z位置
# 当这个值被设置为非零值时那么就必须在网格中的Z值范围内
# 用户希望汇聚的时候z原点的位置
# 应该被设置为0
# 默认是网格的平均值
#split_delta_z: .025
# 触发分层的沿途Z差量 (mm)
# 默认值是 .025.
#move_check_distance: 5.0
# 检查split_delta_z的距离
# 这也是一个动作可以分层的最小长度。
# 默认值是 5.0
#mesh_pps: 2, 2
# 一对以逗号分隔的整数X、Y,定义每段的点的数量
# 在网格中沿每个轴插值的点数
# "segment "可以被定义为每个探测点之间的空间
# 如果用户输入了一个值那么将会应用到两个轴上
# 默认值上 2, 2
#algorithm: lagrange
# 要使用的插值算法
# 可以是"lagrange"或者"bicubic"
# 这个选项不会影响 3x3 的网格因为3x3 的网格会强制使用lagrange采样
# 默认值是lagrange
#bicubic_tension: .2
# 当使用bicubic算法时使用bicubic_tension参数来改变插值的斜率量
# 较大的数字会增加斜率的数量会在网格中产生更多的弯曲
# 默认值是 .2
#relative_reference_index:
# 网格中的一个点索引,用来引用所有的Z值
# 启用这个参数可以产生一个相对于所提供的索引处的
# 探测到的Z位置的网格
#faulty_region_1_min:
#faulty_region_1_max:
# 可选点被定义为故障区域
# 更多对于故障区域多信息See docs/Bed_Mesh.md
# 最多可添加 99 个故障区域。
# 默认没有设置故障区域
[display]
lcd_type: uc1701
# uc1701 显示屏应设为"uc1701"。
cs_pin:PB0
a0_pin:PA1
# 连接到 uc1701 类LCD的引脚。
# 必须提供这些参数。
rst_pin:PH1
# 连接到 LCD "rst" 的引脚。 如果没有定义,则硬件必须在LCD
# 相应的线路上带一个LCD引脚。
contrast:40
# 显示屏的对比度。必须在0和63之间。
# 默认为40。
[probe]
pin:PD3
# Probe detection pin. If the pin is on a different microcontroller
# than the Z steppers then it enables "multi-mcu homing". This
# parameter must be provided.
#deactivate_on_each_sample: True
# This determines if Klipper should execute deactivation gcode
# between each probe attempt when performing a multiple probe
# sequence. The default is True.
x_offset: -2
# The distance (in mm) between the probe and the nozzle along the
# x-axis. The default is 0.
y_offset: 12
# The distance (in mm) between the probe and the nozzle along the
# y-axis. The default is 0.
#z_offset:-11.35
# The distance (in mm) between the bed and the nozzle when the probe
# triggers. This parameter must be provided.
#speed: 5.0
# Speed (in mm/s) of the Z axis when probing. The default is 5mm/s.
#samples: 1
# The number of times to probe each point. The probed z-values will
# be averaged. The default is to probe 1 time.
#sample_retract_dist: 2.0
# The distance (in mm) to lift the toolhead between each sample (if
# sampling more than once). The default is 2mm.
#lift_speed:
# Speed (in mm/s) of the Z axis when lifting the probe between
# samples. The default is to use the same value as the 'speed'
# parameter.
#samples_result: average
# The calculation method when sampling more than once - either
# "median" or "average". The default is average.
#samples_tolerance: 0.100
# The maximum Z distance (in mm) that a sample may differ from other
# samples. If this tolerance is exceeded then either an error is
# reported or the attempt is restarted (see
# samples_tolerance_retries). The default is 0.100mm.
#samples_tolerance_retries: 0
# The number of times to retry if a sample is found that exceeds
# samples_tolerance. On a retry, all current samples are discarded
# and the probe attempt is restarted. If a valid set of samples are
# not obtained in the given number of retries then an error is
# reported. The default is zero which causes an error to be reported
# on the first sample that exceeds samples_tolerance.
#activate_gcode:
# A list of G-Code commands to execute prior to each probe attempt.
# See docs/Command_Templates.md for G-Code format. This may be
# useful if the probe needs to be activated in some way. Do not
# issue any commands here that move the toolhead (eg, G1). The
# default is to not run any special G-Code commands on activation.
#deactivate_gcode:
# A list of G-Code commands to execute after each probe attempt
# completes. See docs/Command_Templates.md for G-Code format. Do not
# issue any commands here that move the toolhead. The default is to
# not run any special G-Code commands on deactivation.
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 26.77
#*# pid_ki = 3.80
#*# pid_kd = 47.16
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 53.040
#*# pid_ki = 3.501
#*# pid_kd = 200.891
#*#
#*# [probe]
#*# z_offset = 0
#*#
#*# [printer]
#*# delta_radius = 167.613492
#*#
#*# [stepper_a]
#*# angle = 211.314227
#*# arm_length = 325.950000
#*# position_endstop = 170
#*#
#*# [stepper_b]
#*# angle = 329.914928
#*# arm_length = 325.950000
#*# position_endstop = 170
#*#
#*# [stepper_c]
#*# angle = 90.000000
#*# arm_length = 325.950000
#*# position_endstop = 170
#*#
#*# [delta_calibrate]
#*# height0 = 0.0
#*# height0_pos = 14204.000,14204.000,14204.000
#*# height1 = 0.0
#*# height1_pos = 18685.000,18759.000,10796.000
#*# height2 = 0.0
#*# height2_pos = 13177.000,21567.000,13138.000
#*# height3 = 0.0
#*# height3_pos = 11154.000,17971.000,18081.000
#*# height4 = 0.0
#*# height4_pos = 13315.000,13274.000,19532.000
#*# height5 = 0.0
#*# height5_pos = 17533.000,11520.000,17573.000
#*# height6 = 0.0
#*# height6_pos = 20456.000,13278.000,13195.000