Adaptive mesh probing script for PrusaSlicer & SuperSlicer
-
Hihi.
I made this little snippet to have your printer only probe the bed in the areas where you have your prints.
I have only tested it on SuperSlicer, but the command fully complies with PrusaSlicer documentation.
You insert this script in your "printer settings" section, in the "start g-code" box.
It should go after you have heated the bed, and after G28, and G32.
This replaces your normal G29 command.;--- Start adaptive mesh probing M557 X{first_layer_print_min[1]}:{first_layer_print_max[1]} Y{first_layer_print_min[2]}:{first_layer_print_max[2]} S20 ;define probe area with 20mm between each probe spot G29 S0 ;start probe, save and activate height map ;--- Stop adaptive mesh probing
I made this for my V-core3.1.
Here is my full start g-code, in case you need it, or have suggestions for improvements.M115 U3.1.0 ;tell printer latest fw version M83 ; extruder relative mode ; Heat bed before probing so heat expansion of bed is mostly accounted for M140 S[first_layer_bed_temperature] ; set bed temp M190 S[first_layer_bed_temperature] ; wait for bed temp G28 ; home all G32 ; make sure build plate is level. 3 point probe. ;G29 S1 ;load mesh (disabled because of adaptive mesh probing) ;--- Start adaptive mesh probing M557 X{first_layer_print_min[1]}:{first_layer_print_max[1]} Y{first_layer_print_min[2]}:{first_layer_print_max[2]} S20 ;define probe area with 20mm between each probe spot G29 S0 ;start probe, save and activate height map ;--- Stop adaptive mesh probing ; Heating nozzle after probe so we avoid oozing M104 S[first_layer_temperature] ; set extruder temp M109 S[first_layer_temperature] ; wait for extruder temp ;---start adaptive purge line G92 E0.0 ; reset extruder G1 X{first_layer_print_min[0]-10} Y{first_layer_print_min[1]} Z0.8 F6000.0 ; position 10mm left from the lower left of the first layer G1 X{first_layer_print_min[0]-10} Y{first_layer_print_min[1]+30} E6 F360.0 ; extrude some filament in the y direction G92 E0.0 ; reset extruder G1 X{first_layer_print_min[0]-30} Y{first_layer_print_min[1]+15} E6 F360.0 ; extrude some filament in both the x and y direction G92 E0.0 ; reset extruder G1 X{first_layer_print_min[0]-10} Y{first_layer_print_min[1]} E6 F360.0 ; extrude some filament returning back to the start G92 E0.0 ; reset extruder ;---end adaptive purge line
-
undefined droftarts referenced this topic
-
@imonsei thanks for posting this. I will have to give it a go on my toolchanger.