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