PRUSA XL nozzle brush (100% working + GCODE)

A simple nozzle cleaning pod utilizing a BambuLab A1 (not mini!) silicone brush to clean the almighty PRUSA XL.
11
30
0
236
updated January 7, 2026

Description

PDF

This is a simple silicone brush holder used for cleaning the nozzle before the initial filament purge at the beginning of printing. After testing and failing several models here I decided to make one inspired by KRYS-3D, but designed from scratch and then tuned a working GCODE to fit this exact model perfectly.

Supplies

1x BambuLab A1 silicone nozzle brush (the bigger one, 37 mm wide, see photo below, NOT A1 MINI! )

Printing

Use PETG,  no supports needed, layer height 0.2, even 0.25 is fine, topmost layer ironing for best look

Installation

Unscrew the  2 original short screws in the middle of the heatbed (closest to you), place the model and screw it in using 2 M3x20 screws.

The code

This is what makes the magic happen and tells your printer to go wipe the nozzle before the initial big filament purge. I've merged several code parts from other makers and tested it on my XL, it is 100% working, please do not mess with it if you don't want your printer to punch itself :)

Copy and add this code before the line ; move to the nozzle cleanup area , check the placement screenshot below:

BEFORE:

AFTER:

COPY THIS BLOCK OF CODE:

G1 E-10 F2400 ; more retraction to compensate oozing before nozzle cleanup
; START NOZZLE BRUSH CYCLE
G1 X160 Y-6 Z5 F24000 ; Move to start position above brush
G1 X160 Y-6 Z-1 F24000 ; Lower nozzle to brush
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-5 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-7 Z-1 F24000 ; nozzle brush cycle
G1 X205 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-6 Z-1 F24000 ; nozzle brush cycle
G1 X160 Y-5 Z5 F24000 ; Lift nozzle
; END NOZZLE BRUSH CYCLE

Make sure to save this preset in PrusaSlicer so that you don't have to implant the code manually for every model.

That's it! Hope I explained it well, please let me know in comments if it works fine on your machine and if so, I would appreciate you clicking the "like" button for this model :)

Tags



Model origin

The author remixed this model.

Differences of the remix compared to the original

I used the original model as an inspiration (the A1 brush version by KRYS-3D didn't work, was misaligned) and created a new one that is simple, easy to print + tested and added a working GCODE that fits this model.

License