Hi all,
Looking for some help on loading and unloading filament on a 2 in 1 out extruder system.
I have gone through what seems like hundreds of Macro’s and all seem to just define a set distance using the G1 command.
My current test system consist of the folling hardware:
2 extruders feeding into a Y-Splitter then a single tube feeding the hotend, between the extruders and the Y-Splitter, I have a filament detection switch on each line.
So very simple and basic system, I would like to do something along the line of “Homing” the filament, below is just a basic rundown on what I would like to do:
if filament is detected on switch 1 then retract T0 until switch 1 does not detect filament
if filament is detected on switch 2 then retract T1 until switch 2 does not detect filament
if filament is not detected on switch 1 then extrude T0 until switch 1 does detect filament then retract until filament is not detected on switch 1
if filament is not detected on switch 2 then extrude T1 until switch 2 does detect filament then retract until filament is not detected on switch 2
Now to calibrate the distance between the switch and the extruder, I extrude until I see filament coming from the hotend, then:
if filament is detected on switch 1 then retract T0 until switch 1 does not detect filament
if filament is detected on switch 2 then retract T1 until switch 2 does not detect filament
log the E steps used
Save the E steps
Extruder calibrated
I can do most of the above easily if I just command G1 to move the extruder a given length, but I cant work out out how to command the extruder to move until it hits the filament detection switch.
Does Klipper have a built in Macro for load to a filament switch or unoad to a filament switch?
Ive looked through the MMU2 macros, and they are way to complex for the simple tasks I would like to do, I can have the system operate okay by just defining a set distance, but I was hoping someone much more clever than I, has worked this out already.