Adaptive Meshing and Purging scripts for RRF and Marlin!!

Prusaslicer starting script to only probe necessary area of the bed, and purge the nozzle accordingly!
28
261
1
1037
updated May 25, 2023

Description

PDF

I recently saw the adaptive meshing and purging on Prusa MK4 and Klipper KAMP meshing and was really impressed! It is a really great feature, since it saves time on the probing, produces higher-density mesh, eliminates the purging skirt, and makes for a nice and small blob that is easily removed from the bed!

 

The issue is that I am running Duet RRF and Marlin on my machines, which do not support these advanced features as standard. Therefore I wrote these codes to set probing and purging areas according to the size and location of your print!
 

Instructions;

You will select your starting script based on the 4 PDFs added to this page;

Adaptive meshing

This script defines local variables and performs the bed mesh probing according to the size of the print. This results in a more accurate mesh, while also saving time.
note; this will not change probe density. So it will be most beneficial for printers with a 3x3 or 5x5 probing grid.

Adaptive purging

This script defines a variable location based on the size and location of the first layer of your print. According to this location, it will purge the nozzle by a specified length. If you want, you can adjust the length of the purge line. If the nozzle is not purged enough, you can make it a little bit longer.
You can do this by adjusting the "local purgelength" value to the length you want

Select the right PDF based on the features you want, Copy the code and replace your existing starting script with this code. That is all!!

 

 

Important notes;
- This will only work in prusaslicer versions newer as 2.6.0 Alpha 6!
You can download this version via the Prusaslicer Github

-Although I tested this script on my machines, on some of friends', as well as programming it to acount for your bed size, I am not responsible for any issues or damage. Use at your own risk

Tags



Model origin

The author marked this model as their own original creation.

License