Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
…
I found out that I need to adjust SET_GCODE_OFFSET Z_ADJUST=+0.075 every time I’m printing at 275°C instead of 215°C to get a perfect first layer.
I tried configuring temp_coeff to negative and hardcoding ref_temp to be 215, but I got stuck when it told me I could not use the same temperature sensor twice. I guess it’s designed to compensate for frame expansion, not hotend expansion. But still, I need a way to compensate my hotend expansion.
Not sure what you are trying to achieve.
You can get the extruder’s target temperature in a macro and from this target temperature calculate your needed offset. Then pass the offset to SET_GCODE_OFFSET
It’s because I’m really not familiar with the coding language used for macros, and I want to see if it’s possible to work around the limitation of [z_thermal_adjust], which is that it can only be used with a brand new, unused sensor.