Frix-x / klippain

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

Make end print retract amount a variable #593

Open wight554 opened 1 month ago

wight554 commented 1 month ago

Describe the feature or hardware support you'd like

Currently primeline purges 18mm and end_print retracts 10mm which creates a blob at the start of primeline. In my setup my fan duct keeps grabbing that blob when purgeline is in X direction which melts the duct after some abs prints

Similar to KAMP's https://github.com/kyleisah/Klipper-Adaptive-Meshing-Purging/blob/main/Configuration/KAMP_Settings.cfg#L26 we can benefit even more from having variable accessible both from prime line and end_print

Lines of code to change: https://github.com/Frix-x/klippain/blob/main/macros/helpers/prime_line.cfg#L113 https://github.com/Frix-x/klippain/blob/main/macros/base/end_print.cfg#L28

Additional context or information

No response

Surion79 commented 3 weeks ago

so these are practically two changes? One for end print and one for prime line?

wight554 commented 3 weeks ago

@Surion79 yeah but they should use same variable (that has to be created as well). The idea is to retract same amount that'll be pushed before purge