Gcode_macro START_PRINT

Hallo,
ich habe einen K1 max, den ich schon gerootet habe.
Ich versuche jetzt eine Bürste zum reinigen der Düse vor
Print Start zu integrieren.
Jedoch finde ich das gcode_macro START_PRINT nicht, den in dem
file gcode_macro.cfg im config Verzeichniss ist das macro START_Print
komplett auskommentiert (Standard scheinbar). Ich habe schon versucht
dies zu aktivieren, es wird aber scheinbar ignoriert.
Vielleicht weiß jemand in welchem Verzeichniss/Datei dieses macro liegt.

Gruß Tom

If you rooted it using the Creality helper script from GitHub and installed KAMP with it, then it comments START_PRINT from its original place and add it to a new one that is inside the KAMP files, named Start_Print.cfg
You can modify it through Fluidd or mainsail or directly on the folder using ssh
Screenshot 2024-10-21 at 11.15.26

hello alvarogalia,
thank you for pointing me into right direction.
anyway it looks like the K1 max does his “standard” nozzle cleaning before it
comes to the START_PRINT macro. i commentet CX_NOZZLE_CLEAR out in
START_PRINT but it has no effect.
do you know where the original nozzle cleaning is done?
Thank You Tom

even if i modify clear_nozzle() function in

/usr/share/klipper/klippy/extras/prtouch.py

script it still does his “standard” nozzle cleaning.

any ideas?

I was able to disable it. Edit gcode_macro.cfg (the right one in /usr/data/printer_data/config) and add :

[gcode_macro CX_NOZZLE_CLEAR]
rename_existing: CX_NOZZLE_CLEAR_PY
gcode:
  # NOP

[gcode_macro NOZZLE_CLEAR]
rename_existing: NOZZLE_CLEAR_PY
gcode:
  # NOP

2 Likes

ok, that worked, thank you very much for sharing this information