Adaptive mesh keeps adding objects on each print

Basic Information:

Printer Model: Homemade
MCU / Printerboard: Octopus
Host / SBC Raspberry pi
klippy.log
klippy.zip (1.6 MB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

…I asked this problem a while and still have the problem.
When I print my first print after turning on the printer the adaptive mesh does work fine. It runs the mesh on the area that is defined in the gcode file.
If I load a second print file the adaptive mesh uses the previous file’s defined area.

Actually, I now have found out on the klipper log in octoprint each time I run another print, without rebooting the machine, the log shows it found another object each time. If the current print is bigger than the last ones it adds the area to the previous area. I can’t find anyway to clear the objects.

I have the BED_MESH_PROFILE REMOVE=default and theBED_MESH_PROFILE REMOVE=adaptive running in the gcode file then also BED_MESH_CLEAR run before I run the BED_MESH_CALIBRATE PROFILE=adaptive ADAPTIVE=1 command.
If I remove the profiles and clear the mesh and run the BED_MESH_OUTPUT PGP=1 command it still shows the previous mesh definitions.
How do I clear the previous bed mesh objects before the next print?

None of those are necessary or relevant.

As noted in Exclude Objects - Klipper documentation, the objects are normally reset when virtual_sdcard is reset, which happens automatically at the end of a print. Since you do not appear to be using virtual_sdcard, you need to reset the objects manually with EXCLUDE_OBJECT_DEFINE RESET=1

1 Like

I will try that and let know.

Ok that works finally. Thanks for that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.