* Added support for wiper ears, no need to cut them off anymore.
* Added M3 (4 x 5mm) heat-set insert providing a more stable mounting of the Wiper.
* Updated BOM.
# Use this like "WIPE COUNT=10", COUNT defaults to 5 if not given
[gcode_macro WIPE]
gcode:
{% set wiper_x = 93.5 %} ; Center of the wiper left to right
{% set wiper_y = 308 %}
{% set wiper_z = 6.0 %}
{% set wipe_distance = 20 %}
{% set wipe_speed = 10000 %}
{% set wipe_count = params.COUNT|default(5)|int %}
STATUS_BUSY
SAVE_GCODE_STATE NAME=wiper_gcode_state_save
G90
# Start just to the left, at the right Y and a little above the wiper to be sure we clear it
G1 X{wiper_x - (wipe_distance / 2)} Y{wiper_y} Z{wiper_z + 5} F5000
# Lower into position
G1 Z{wiper_z}
# Change to relative mode, and wipe!
G91
{% for i in range(wipe_count) %}
G1 X{wipe_distance} F{wipe_speed}
G1 X-{wipe_distance} F{wipe_speed}
{% endfor %}
RESTORE_GCODE_STATE NAME=wiper_gcode_state_save
STATUS_READY`