Files
LeoVoron2.4/printer.cfg
Mikhail Shahovalov 03bda9c56c Autocommit from 2025-08-18 08:29:51
Klipper version: v0.13.0-154-g9346ad19

Moonraker version: v0.9.3-77-gccbfd64

Mainsail version: v2.14.0
2025-08-18 08:29:51 +03:00

234 lines
5.1 KiB
INI

[include mainsail.cfg]
[include timelapse.cfg]
[include hbb.cfg]
# Happy Hare
#[include mmu/base/*.cfg]
#[include mmu/optional/client_macros.cfg]
#[include mmu/addons/blobifier.cfg]
#[include mmu/addons/mmu_erec_cutter.cfg]
[mcu host]
serial: /tmp/klipper_host_mcu
[temperature_sensor BttPi2]
sensor_type: temperature_host
[include octopus_pro_1.1.cfg]
[include toolhead_sb.cfg]
#[include toolhead_sht36v2.cfg]
[printer]
kinematics: corexy
max_velocity: 500
max_accel: 8000 #Max 4000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0
[force_move]
enable_force_move: true
[respond]
default_type: echo
default_prefix: echo:
[exclude_object]
[gcode_arcs]
resolution: 0.1
[skew_correction]
#####################################################################
# X/Y Stepper Settings
#####################################################################
## X Stepper on Motor1(B Motor)
[stepper_x]
rotation_distance: 40 #39.8
full_steps_per_rotation:400
position_min: 0
position_endstop: 355 #355
position_max: 355 #355
homing_speed: 80 #25 #Max 100
#homing_retract_dist: 10
homing_retract_dist: 0
homing_positive_dir: true
## Y Stepper on Motor2 (A Motor)
[stepper_y]
full_steps_per_rotation:400
rotation_distance: 40 #39.8
position_min: 0
position_endstop: 355
position_max: 355
homing_speed: 100 #25 #Max 100
#homing_retract_dist: 5
homing_retract_dist: 0
homing_positive_dir: true
#####################################################################
# Z Stepper Settings
#####################################################################
## Z0 Stepper - Front Left on MOTOR3_A
[stepper_z]
rotation_distance: 40
gear_ratio: 80:16
position_max: 300
position_min: -20
homing_speed: 15
second_homing_speed: 3
homing_retract_dist: 3
[stepper_z1]
rotation_distance: 40
gear_ratio: 80:16
[stepper_z2]
rotation_distance: 40
gear_ratio: 80:16
[stepper_z3]
rotation_distance: 40
gear_ratio: 80:16
#####################################################################
# Heater
#####################################################################
[verify_heater heater_bed]
max_error: 120
check_gain_time: 60
hysteresis: 5
heating_gain: 2
[verify_heater extruder]
#max_error: 120
check_gain_time: 30
#hysteresis: 5
#heating_gain: 2
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
min_temp: 0
max_temp: 120
control: pid
pid_kp: 55.796
pid_ki: 2.797
pid_kd: 278.281
#####################################################################
# Probe
#####################################################################
[probe]
x_offset: 0
y_offset: 0
#z_offset: -0.890
lift_speed: 15 #10
speed: 3.0 #5
samples: 3
samples_result: median
sample_retract_dist: 3
samples_tolerance: 0.005
samples_tolerance_retries: 6
activate_gcode:
{% set PROBE_TEMP = 150 %}
{% set MAX_TEMP = PROBE_TEMP + 5 %}
{% set ACTUAL_TEMP = printer.extruder.temperature %}
{% set TARGET_TEMP = printer.extruder.target %}
{% if TARGET_TEMP > PROBE_TEMP %}
{ action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
M109 S{ PROBE_TEMP }
{% else %}
# Temperature target is already low enough, but nozzle may still be too hot.
{% if ACTUAL_TEMP > MAX_TEMP %}
{ action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
{% endif %}
{% endif %}
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 1800
gcode:
#_CHAMBER_LED_OFF
[quad_gantry_level]
gantry_corners:
-60,10
410,420
points:
#50,50
#50,300
#300,300
#300,50
50,50
50,300
300,300
300,50
speed: 500
horizontal_move_z: 6
retries: 10
retry_tolerance: 0.0075
max_adjust: 15
[bed_mesh]
speed: 450
horizontal_move_z: 5
#mesh_min: 40, 40
#mesh_max: 310,310
mesh_min: 35, 30
mesh_max: 316,308
fade_start: 0.6
fade_end: 10.0
probe_count: 5,5 # Values should be odd, so one point is directly at bed center
algorithm: bicubic
#relative_reference_index: 12 #40 #12 # Update when changing probe_count, to ((x points * y points) - 1) / 2. (the center point)
[include macros/main.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [skew_correction default]
#*# xy_skew = -0.002542020467517966
#*# xz_skew = 0.0
#*# yz_skew = 0.0
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.005312, 0.005625, 0.016875
#*# -0.001250, -0.008125, 0.015312
#*# 0.016250, 0.004687, 0.022812
#*# x_count = 3
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 132.6
#*# max_x = 217.0
#*# min_y = 133.25
#*# max_y = 217.07
#*#
#*# [probe]
#*# z_offset = -0.850