adaptive mesh probe script for Start G-code #4530
imonsei
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi hi.
I made a little script the adefines a custom probe script that only probes the area with your prints on it. Should make the probing go a little faster.
It also checks if the print is too small to have a good sample of probes, and expands the probe area if so.
I'm pretty sure this only works on Reprap based firmware, but I might be mistaken.
;G29 S1 ;load mesh (disabled because of adaptive mesh probing)
;--- Start adaptive mesh probing
; this defines a minimum size of 60x60 mm grid for probing if your print is too small, with 20 mm between probes. if you have placed your print items too near the print bed end, we move probe area, so we don't probe outside the print bed.
{if first_layer_print_size[0] > 60 and first_layer_print_size[1] > 60
}M557 X{first_layer_print_min[0]}:{first_layer_print_max[0]} Y{first_layer_print_min[1]}:{first_layer_print_max[1]} S20
{else
}M557 X{
if first_layer_print_min[0]+60 < print_bed_max[0]}{
first_layer_print_min[0]}:{first_layer_print_min[0]+60}{
else}{
first_layer_print_max[0]-60}:{first_layer_print_max[0]}{
endif} Y{
if first_layer_print_min[1]+60 < print_bed_max[1]}{
first_layer_print_min[1]}:{first_layer_print_min[1]+60}{
else}{
first_layer_print_max[1]-60}:{first_layer_print_max[1]}{
endif}{
endif}
G29 S0
;--- Stop adaptive mesh probing
Beta Was this translation helpful? Give feedback.
All reactions