fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.34k stars 401 forks source link

Heat up extruder for Retract / Extrude instead of dimming buttons #1347

Open yw4z opened 5 months ago

yw4z commented 5 months ago

Is your feature request related to a problem? Please describe

Screenshot-20240207195328

Extrude / Retract buttons dimmed while extruder cold. it enables back after heating extruder

im using a macro for this. but why i cant use Extrude / Retract buttons with one click

i know i can heat up extruder from thermals section but this is a 2 step process

Describe the solution you'd like

heating extruder automatically to extrusion temp if extruder is cold

Describe alternatives you've considered

No response

Additional information

No response

pedrolamas commented 5 months ago

Hi @yw4z thank you for opening this Feature Request.

Those buttons use G1 commands, so when you say you created a macro, do you mean you have overridden the G1 command?

yw4z commented 5 months ago

Hi i used creality's macro. they are using;

[gcode_macro LOAD_MATERIAL]
gcode:
  LOAD_MATERIAL_CLOSE_FAN2
  M109 S{printer.custom_macro.default_extruder_temp}
  G91
  G1 E80 F180
  LOAD_MATERIAL_RESTORE_FAN2
[gcode_macro QUIT_MATERIAL]
gcode:
  SAVE_GCODE_STATE NAME=myMoveState
  M109 S{printer.custom_macro.default_extruder_temp}
  G91
  G1 E20 F180
  G1 E-30 F180
  G1 E-50 F2000
  RESTORE_GCODE_STATE NAME=myMoveState

i created this macros to sort them alphabetically because if i change their name i cant extrude / retract from touchscreen

[gcode_macro MATERIAL_LOAD]
description: Extrudes Filament
gcode:
  LOAD_MATERIAL

[gcode_macro MATERIAL_RELEASE]
description: Retracts Filament
gcode:
  QUIT_MATERIAL

Screenshot-20240208122745

also i'm trying to rework UI of tool section. maybe some details might be helpful

i guess M109 S{printer.custom_macro.default_extruder_temp} will not work on every printer but you already have • settings for extusion speed and length • fluidd already checking extruder temp Screenshot-20240208123601

maybe adding a default extusion temp setting can solve this

alternative solutions • fluidd settings > default extrusion temp > fluid automatically heats up extruder to this setting if extruder temp below 170 C when user clicked extrude / retract button. i guess a popup should appear to notify user to waiting extruder to reaching target temp • popup appear with extruder is cold heat before extrusion / retract. a value box ( heat extruder temp to [] ). buttons heat, cancel • a setting for custom macros. fluidd settings > use this macro if extruder temp is below 170 C for .. > seperate settings for both extract and retract

pedrolamas commented 5 months ago

Your scenario seems quite specific to your usage, and the reality is that Klipper will not allow extrusion if the extruder temperature is below min_extrude_temp, which is the check that Fluidd is checking here - note that this is a safety feature, but you can change that value in your config.

Anything else will have to use custom macros - just as you are currently doing now.

yw4z commented 5 months ago

no im not trying to extrude on low temps

i think new users (like me i just using about 2 weeks) and dimmed button confused me and did a google search for that because i thought there is a combability issue

my point is UI didnt guide me why i cant extrude

maybe a popup can appear when user clicked to dimmed buttons to set extruder temp

Screenshot-20240208151301

creality automatically heats extruder if i touch retract / extrude button on touch screen

19504643 commented 1 month ago

alternative solutions • fluidd settings > default extrusion temp > fluid automatically heats up extruder to this setting if extruder temp below 170 C when user clicked extrude / retract button.

Where is the 'default extrusion temp' and 'automatically heats up extruder'

i guess a popup should appear to notify user to waiting extruder to reaching target temp • popup appear with extruder is cold heat before extrusion / retract. a value box ( heat extruder temp to [] ). buttons heat, cancel • a setting for custom macros. fluidd settings > use this macro if extruder temp is below 170 C for .. > seperate settings for both extract and retract

and how to add this popup, is there a guide? tks

pedrolamas commented 1 month ago

Hi @19504643, the above is a new proposed feature, it is not currently implemented and available.