Open Kiiiddd opened 8 months ago
Thanks for putting your request here. It will be easier for us to track them and add them in a futur release :)
No worries, we are here to help :) What is the name of the macro you used for the brush cleaning? Since I don't have it, it is easier for me to see where it could be improved, so I can add a variable and the corresponding fix.
It was the gcode_macro CLEAN_NOZZLE included in Klippain. I used the dashboard to call it without any print running and at the end it left the nozzle at the brush height which is fine in most cases but with that brush holder installed it was low(I was using the old decontaminator mod which is pretty popular) the next action I took scraped the nozzle
do you expect just a specific retraction after nozzle clean? can you write here what your brush_xyz in user variables is?
It's different now so I couldn't tell you the exact coordinates but the Z height was what mattered and that was at -0.5mm(so just below Bed height). I always seen the nozzle clean during the print start be fine and didn't think anything of it when I manually called for the macro.
I think a +5mm Z movement at the end of the brush clean macro would stop any accidental scraping. If you think this is a bad thing to do due to adding any sort of time to the print start macro then feel free to ignore me as I changed my brush holder and now my nozzle clean height is +3mm Z if I remember right so it doesn't bother me anymore. Just thought if it would save 1 other person scraping the bed when using Klippain it would be good
@Frix-x : I would either write a warning if z is <0 or add a "zhop" to save z height?
Regarding the bedfans here is my working solution. Not the prettiest but it does work:
[gcode_macro START_FILTER]
[fan_generic bed_fans]
pin: BED_FAN
max_power: 1.0
kick_start_time: 0.250
off_below: 0.30
# hardware_pwm: True
# cycle_time: 0.001
gcode:
{% set SPEED = params.SPEED|default(1)|float %}
{% set filter_name = printer["gcode_macro _USER_VARIABLES"].filter_name %}
SET_FAN_SPEED FAN={filter_name} SPEED={SPEED}
SET_FAN_SPEED FAN=bed_fans SPEED={SPEED}
[gcode_macro STOP_FILTER]
gcode:
{% set filter_name = printer["gcode_macro _USER_VARIABLES"].filter_name %}
SET_FAN_SPEED FAN={filter_name} SPEED=0
SET_FAN_SPEED FAN=bed_fans SPEED=0
[delayed_gcode _STOP_FILTER_DELAYED]
gcode:
STOP_FILTER
They behave the same as the filter which I don't think is a problem.
These are just existing start-stop macros extensions. The original bed fans macros are completely automated and are linked to the core bed heating functionality of klipper. you don't start/stop them. they work autonomously. If you use a filter solution, you do have a bed fan solution implicetly, which is similar to yours. e.g. i use 3 Nevermore filters with just one pin and run them simultaneously. no need for bedfans, since it has 6 fans running. If you have "the filter" with the side filters, you have already 4 fans, which are also working for heating chamber. Do you have a chamber thermistor? i use klippain chamber soak to get to my temperature.
📌 This issue has been marked as stale because it has not had activity in the past 30 days. To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days. Thank you for your contributions!
So I am liking my Klippain install now that I have everything setup properly(my overides page is way bigger than I thought it was gonna be lol)
But I had a couple Ideas, not sure how viable or hard they would be to implement
Ellis Bed Fans module - I seen the clossed issue but I think it would be easy to add a different CFG that you could choose instead of Nevermore with Ellis's bed fan macro(Also check out THE FILTER on pintables as the description shows a further modified CFG)
Brush Safe Z height - My nozzle brush is pretty low and I had a nozzle scrape after a manually activated brush clean, and it probably wouldn't be hard to add a safe Z movement to the end of the Nozzle brush macro?
Multi-Color Print start & end - For doing Z-hop multicolor prints like fancy Voron faces, people will Z-hop around a different color but to do this you need to keep the mesh and load the current mesh without Homing&QGL. then you just modify your start and end G-code to use the other macros(https://docs.vorondesign.com/community/howto/mikhail/multi-colour-prints-with-a-single-nozzle.html). So having a 2nd Print Start Macro and End Macro than never gets used unless the G-code calls for it would be awesome