March 23, 2023
Description
I wanted to have a nozzle cleaning brush like the Vorons, so I made this remix of thing:5219287 by taka0909, of which I use on the other corner to help with the PEI sheet placement.
Here's the macro I use with this. Please do check that this macro fits with your own setup before using!!
Replace the asterisks * with your actual coordinates.
##################################################################
# Nozzle Cleaning
##################################################################
[gcode_macro Clean_Nozzle]
gcode:
{% set wipe_count = 8 %} ; Number of wipes
SAVE_GCODE_STATE NAME=clean_nozzle_state
G90 ; Absolute Positionning
_CG28 ; Conditionnal Homing
G0 Z10 F300 ; Move the nozzle a bit
{% for wipe in range(wipe_count) %}
{% for coordinate in [(*, *),(*, *)] %} ; Start then end of wipe (X,Y)
G0 Y{coordinate[1]} X{coordinate[0] + 0.25 wipe} Z* F12000 ; Wipings
{% endfor %}
{% endfor %}
RESTORE_GCODE_STATE NAME=clean_nozzle_state
License:
Creative Commons — Attribution
7