ScrubbyXL – Automatic Nozzle Wipe (MBL & during printing)

This article is part of the Prusa XL Technical Series on INVESTEGATE.de

All guides assume that the Prusa XL Fundamentals are correct.
If not, start here: Prusa XL Basics – Technical Fundamentals

ScrubbyXL is a reliability-focused nozzle cleaning mod for the Prusa XL. It adds an automatic wipe before Mesh Bed Leveling (MBL) and optional nozzle wipes during printing (triggered via G-code), helping prevent filament buildup on the nozzle tip—especially on long prints where small residue can snowball into defects or failures.

Why ScrubbyXL Exists

Nozzle tip contamination is one of those problems that often starts small and ends in a ruined print. A tiny blob, some PETG residue, or slightly burnt material can stick to the nozzle and later get dragged across the first layer, interfere with probing, or eventually cause surface defects and collisions on long jobs.

ScrubbyXL addresses this with a simple idea: don’t wait for the problem to show up—wipe proactively. The first part happens before MBL: by adding a small tweak to your Start G-code, the nozzle is wiped clean so it can probe the bed in a cleaner state. The goal is not “more leveling”, but more consistent conditions while leveling, which helps the first layer start off right.

The second part is for long prints. ScrubbyXL can be triggered during printing at a user-defined interval (for example, every N layers) using G-code integrated in your slicer settings. This helps reduce the gradual buildup that otherwise accumulates over many hours and can eventually cause a print to fail late in the job.

Versions & configuration

To fit different setups, ScrubbyXL comes in multiple variants:

  • Mounting hole sizes: M3 / M4 / M5.
  • Silicone brush sizes: A1 or A1 mini.
  • Mounting options: magnetic (magnets inserted during the print or glued in later) or a fixed, fully screwed version without magnets.

My recommended setup is the magnetic version with inserted magnets and the A1 mini brush. Magnetic mounting is especially practical because you may want to remove the brush quickly—particularly on the right side where Tool 5 loads/unloads above that area. For the best wiping result, I recommend installing wipers on both sides, but you can also run only one side and adjust the G-code accordingly.

Download the ScrubbyXL Mod for the Prusa XL on Printables

What to expect

  • Less nozzle-tip residue during long jobs, reducing the chance of late-stage print failures.
  • Cleaner probing conditions before MBL, which can translate into a more consistent first layer.

G-Codes

Start G-code changes

  1. Integrated the nozzle-clean / wipe routine so the nozzle is mechanically cleaned as part of startup.
  2. Adjusted the tool wait for temp position to the front to to make it easier to clean the nozzle manually.
  3. Added an audible beep indicator (beeps before the nozzle wipe and before the purge line) for better feedback during startup.
  4. Commented out G29 P9, because it drives the temperature too high right before MBL.
  5. Shifted the purge line for the first and last tool by 3 mm to avoid any contact with the brush mod.
  6. Reworked Surfalex2000’s brass brush-mod G-code to improve the cleaning result (more reliable wipe behavior).

Optimized and fixed Prusa XL full start gcode for the ScrubbyXL

Before Layer Change G-code

During printing, the nozzle is automatically cleaned every X layer)

Bonus: Print Finish Sound

Plays a short finishing melody.

Optional: Additional MBL brass brush mod from Surfalex2000

If you also want to use the MBL brass brush mod from @Surfalex2000:

- 💌 -Don’t miss these tips!

We don't send spam! By registering, you agree to receive our email newsletter and agree to our privacy policy.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Nach oben scrollen