v2.4: update things

This commit is contained in:
Konstantin Koslowski 2021-11-25 22:57:41 +01:00
parent d287262e72
commit 1694da09bc
5 changed files with 165 additions and 150 deletions

View file

@ -32,34 +32,9 @@ serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_1E0030000E5053424E363620-if00
##--------------------------------------------------------------------
[gcode_macro zc]
gcode:
{% set z_run = params.CUR|default(0.4)|float %}
{% set z_hold = z_run %}
{action_respond_info("zc: setting zcurrent to %.2f" % z_run)}
SET_TMC_CURRENT STEPPER=stepper_z CURRENT={z_run} HOLDCURRENT={z_hold}
SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={z_run} HOLDCURRENT={z_hold}
SET_TMC_CURRENT STEPPER=stepper_z2 CURRENT={z_run} HOLDCURRENT={z_hold}
SET_TMC_CURRENT STEPPER=stepper_z3 CURRENT={z_run} HOLDCURRENT={z_hold}
[gcode_macro zm]
gcode:
{% set speed = params.SPEED|default(300)|int %}
{action_respond_info("moving with F%d" % speed)}
G0 Z30 F{speed}
G0 Z10 F{speed}
[gcode_macro foo]
gcode:
{% set SENSOR = params.SENSOR|default("bme280 chamber")|string %}
{action_respond_info("sensor: %s, qgl: %s" % (SENSOR, printer.quad_gantry_level.applied))}
[printer]
kinematics: corexy
max_velocity: 500
max_velocity: 600
## regular
max_accel: 3000
max_accel_to_decel: 1500 # default half of max_accel
@ -79,6 +54,8 @@ square_corner_velocity: 5.0
[include input_shaper.cfg]
# [include resonance_test.cfg]
[include z_calibration.cfg]
[include ercf/hardware.cfg]
[include ercf/software.cfg]
#####################################################################
@ -151,7 +128,7 @@ endstop_pin: PG10
position_endstop: 0.5
position_max: 290
position_min: -5
homing_speed: 13.0 # speed: mm/sec, feedrate: mm/min
homing_speed: 8.0 # speed: mm/sec, feedrate: mm/min
homing_retract_speed: 10
second_homing_speed: 2
homing_retract_dist: 3
@ -223,7 +200,7 @@ stealthchop_threshold: 0
# E0 on MOTOR6
[extruder]
step_pin: PE2
dir_pin: !PE3
dir_pin: PE3
enable_pin: !PD4
## Update value below when you perform extruder calibration
## If you ask for 100mm of filament, but in reality it is 98mm:
@ -256,7 +233,14 @@ pressure_advance: 0.05
pressure_advance_smooth_time: 0.040
# Maximum length (in mm of raw filament) that a retraction or
# extrude-only move may have, default: 50
max_extrude_only_distance: 100
max_extrude_only_distance: 200
# Maximum area (in mm^2) of an extrusion cross section (eg,
# extrusion width multiplied by layer height). This setting prevents
# excessive amounts of extrusion during relatively small XY moves.
# If a move requests an extrusion rate that would exceed this value
# it will cause an error to be returned. The default is: 4.0 *
# nozzle_diameter^2
max_extrude_cross_section: 50.0 # default 4 * 0.4 = 0.64
## E0 on MOTOR6
[tmc2209 extruder]
@ -287,22 +271,6 @@ max_temp: 120
#pid_kd: 363.769
#####################################################################
# Filament Sensor
#####################################################################
[filament_switch_sensor filament_switch]
switch_pin: ^!PG12
pause_on_runout: True
# runout_gcode is executed after pause_on_runout
runout_gcode:
M117 filament removed
insert_gcode:
M117 filament inserted
# event_delay: 3.0
# pause_delay: 0.5
#####################################################################
# Enclosure Temp Sensor Section
#####################################################################
@ -416,13 +384,13 @@ max_adjust: 10
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.075000, 0.060000, 0.040000, 0.045000, 0.040000, 0.072500, 0.072500
#*# 0.032500, 0.005000, 0.022500, 0.025000, 0.005000, 0.062500, 0.060000
#*# -0.005000, -0.000000, -0.007500, -0.017500, -0.002500, 0.035000, 0.042500
#*# -0.007500, 0.000000, 0.002500, 0.000000, 0.007500, 0.010000, 0.015000
#*# -0.010000, 0.022500, 0.012500, -0.007500, 0.005000, 0.027500, 0.002500
#*# 0.012500, 0.007500, 0.017500, -0.002500, 0.047500, 0.025000, 0.000000
#*# 0.060000, 0.072500, 0.035000, 0.075000, 0.057500, 0.057500, 0.065000
#*# 0.037500, 0.035000, 0.037500, 0.060000, 0.040000, 0.070000, 0.030000
#*# 0.032500, 0.037500, 0.002500, 0.017500, 0.040000, 0.040000, 0.057500
#*# 0.010000, -0.002500, 0.020000, -0.005000, -0.005000, 0.012500, 0.037500
#*# 0.050000, -0.020000, 0.002500, 0.000000, 0.010000, 0.030000, 0.022500
#*# -0.002500, 0.025000, 0.022500, 0.015000, 0.000000, 0.037500, 0.045000
#*# 0.020000, 0.015000, 0.030000, 0.027500, 0.025000, 0.015000, 0.005000
#*# 0.040000, 0.022500, 0.032500, 0.032500, 0.065000, 0.055000, 0.032500
#*# tension = 0.2
#*# min_x = 40.0
#*# algo = bicubic