From ffc32950556e9a819d6538ab27763add64992124 Mon Sep 17 00:00:00 2001 From: xavye Date: Mon, 16 Feb 2026 14:56:25 +0000 Subject: [PATCH] Ajouter user_settings.cfg --- user_settings.cfg | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 user_settings.cfg diff --git a/user_settings.cfg b/user_settings.cfg new file mode 100644 index 0000000..c992083 --- /dev/null +++ b/user_settings.cfg @@ -0,0 +1,48 @@ +############################################################################# +# Nozzle Cleaner Config +############################################################################# + +[gcode_macro CLEAN_NOZZLE] +description: Nozzle cleaning using a silicone brush +gcode: + G28 + # Raise the nozzle to avoid contact with the model + G90 + G1 Z10 F3000 ; Raise the nozzle by 10 mm + # Move to the starting position of the brush + G1 X-3 Y35 Z4 + G1 Y30 + # Start cleaning the nozzle + G91 + {% for repeat in range(5) %} + G1 Y-2 X2 F4000 ; Wipe diagonally down-right + G1 Y-2 X-2 F4000 ; Wipe diagonally down-left + {% endfor %} + + {% for repeat in range (5) %} + G1 Y2 X2 F4000 ; Wipe diagonally up-right + G1 Y2 X-2 F4000 ; Wipe diagonally up-left + {% endfor %} + + {% for repeat in range(5) %} + G1 Y-2 X2 F4000 ; Wipe diagonally down-right + G1 Y-2 X-2 F4000 ; Wipe diagonally down-left + {% endfor %} + + {% for repeat in range (5) %} + G1 Y2 X2 F4000 ; Wipe diagonally up-right + G1 Y2 X-2 F4000 ; Wipe diagonally up-left + {% endfor %} + + {% for repeat in range(5) %} + G1 Y-2 X2 F4000 ; Wipe diagonally down-right + G1 Y-2 X-2 F4000 ; Wipe diagonally down-left + {% endfor %} + + {% for repeat in range (5) %} + G1 Y2 X2 F4000 ; Wipe diagonally up-right + G1 Y2 X-2 F4000 ; Wipe diagonally up-left + {% endfor %} + + G90 + G1 Z10 F3000 ; Raise the nozzle after cleaning \ No newline at end of file