garethky / PrusaSlicerPressureAdvanceCalibration

An web tool that modified PrusaSlicer GCode to add a Pressure Advance test pattern
https://garethky.github.io/PrusaSlicerPressureAdvanceCalibration/
GNU General Public License v3.0
3 stars 1 forks source link

Support Adaptive Bed Mesh #4

Open garethky opened 7 months ago

garethky commented 7 months ago

Adaptive bed mesh is a feature that allows the printer to only mesh the print area. If the user doesn't follow the directions and place the test object into the middle of the bed, the bed mesh area and the print area wont align.

in Prusa firmwares M555 is the command that does this:

; set print area
M555 X14.6 Y38 W150.8 H104

Which comes from this template:

; set print area
M555 X{first_layer_print_min[0]} Y{first_layer_print_min[1]} W{(first_layer_print_max[0]) - (first_layer_print_min[0])} H{(first_layer_print_max[1]) - (first_layer_print_min[1])}

This might be fixable via edits to the M555 line in the case of Prusa firmwares.

In the klipper community this is also a common add-on to a printers config. There are custom macros and plugins that do this. The coordinates usually gets communicated to the printer via the START_PRINT macro as arguments.

This is harder to fix.

garethky commented 7 months ago

This should work on Prusa and Klipper machines now.

garethky commented 7 months ago

The exclude object functionality needs testing, I don't have this set up on my klipper machine right now.