Frix-x / klippain

Generic Klipper configuration for 3D printers
GNU General Public License v3.0
807 stars 214 forks source link

3 Ideas for Klippain #326

Open Kiiiddd opened 8 months ago

Kiiiddd commented 8 months ago

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

Frix-x commented 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 :)

Surion79 commented 8 months ago
Kiiiddd commented 8 months ago
Surion79 commented 8 months ago

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.

Kiiiddd commented 8 months ago

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

Surion79 commented 8 months ago

do you expect just a specific retraction after nozzle clean? can you write here what your brush_xyz in user variables is?

Kiiiddd commented 8 months ago

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

Surion79 commented 8 months ago

@Frix-x : I would either write a warning if z is <0 or add a "zhop" to save z height?

W141-ID commented 8 months ago

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.

Surion79 commented 8 months ago

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.

github-actions[bot] commented 4 months ago

📌 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!