Entschuldige die späte Rückmeldung, habe es einfach irgendwie immer wieder vergessen zu antworten..
Also der Extrudervorschub kommt meines Wissens nach immernoch aus dem gcode, also von Cura. Das einzige was Klipper übernimmt, ist der selbstständige Retract und die Beschleunigung aller Achsen (incl. Extruder). Korrigiert mich bitte wenn ich falsch liege.
Hier mal meine Klipper-Config:
# This file contains common pin mappings for Anet A8 printer from 2016
# and 2017. To use this config, the firmware should be compiled for
# the AVR atmega1284p.
# Note that the "make flash" command does not work with Anet boards -
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: PD7
dir_pin: PC5
enable_pin: !PD6
step_distance: .009955
endstop_pin: ^!PC2
position_endstop: -12.6
position_max: 220
position_min: -12.6
homing_speed: 100
[stepper_y]
step_pin: PC6
dir_pin: PC7
enable_pin: !PD6
step_distance: .01244
endstop_pin: ^!PC3
position_endstop: -9.2
position_min: -9.2
position_max: 220
homing_speed: 100
[stepper_z]
step_pin: PB3
dir_pin: !PB2
enable_pin: !PA5
step_distance: .0025
endstop_pin: probe:z_virtual_endstop
position_max: 200
homing_speed: 40
position_min: -1
[probe]
pin: ^!PC4
x_offset: 28
y_offset: 0
z_offset: 1.76
[safe_z_home]
home_xy_position: 82,110
speed: 200
z_hop: 6
z_hop_speed: 5
[bed_mesh]
min_point: -8,20
max_point: 172,200
probe_count: 4,4
speed: 500
horizontal_move_z: 6
[extruder]
step_pin: PB1
dir_pin: PB0
enable_pin: !PD6
step_distance: .0105
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PD5
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA7
control: pid
pid_kp: 37.757
pid_ki: 4.060
pid_kd: 87.786
min_temp: 0
max_temp: 250
pressure_advance: 0.55
[heater_bed]
heater_pin: PD4
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA6
control: pid
pid_kp: 74.611
pid_ki: 1.299
pid_kd: 1071.600
min_temp: 0
max_temp: 130
[fan]
pin: PB4
[mcu]
serial: /dev/ttyUSB0
baud: 115200
[printer]
kinematics: cartesian
max_velocity: 1000
max_accel: 300
max_z_velocity: 20
max_z_accel: 50
[display]
lcd_type: hd44780
rs_pin: PA3
e_pin: PA2
d4_pin: PD2
d5_pin: PD3
d6_pin: PC0
d7_pin: PC1
up_pin: PA1
analog_range_up_pin: 9000, 13000
down_pin: PA1
analog_range_down_pin: 800, 1300
click_pin: PA1
analog_range_click_pin: 2000, 2500
back_pin: PA1
analog_range_back_pin: 4500, 5000
#kill_pin: PA1
#analog_range_kill_pin: 400, 600
[gcode_macro G29]
gcode:
BED_MESH_CALIBRATE
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# points =
#*# 0.712500, 0.622500, 0.485000, 0.292500
#*# 0.720000, 0.590000, 0.422500, 0.192500
#*# 0.712500, 0.552500, 0.350000, 0.072500
#*# 0.692500, 0.507500, 0.290000, -0.027500
#*# x_count = 4
#*# y_count = 4
#*# min_x = -8.0
#*# max_x = 172.0
#*# min_y = 20.0
#*# max_y = 200.0
#*# x_offset = 28.0
#*# y_offset = 0.0
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
Wie du siehst, werden die E-Steps direkt mit angegeben, d.h. du könntest dir je Extruder eine Config-Datei erstellen und diese einfach per Copy&Paste laden, wenn du den Extruder wechselst. Sollte also immernoch einfacher sein, als das in Marlin zu ändern (je nach dem welche Software du verwendest).
Beantwortet das deine Frage?
Liebe Grüße, Marvin