mirror of
https://github.com/teachingtechYT/teachingtechYT.github.io.git
synced 2024-08-30 18:23:26 +00:00
Add Klipper BED_MESH_CALIBRATE as abl option
Avoids the need for a G29 macro.
This commit is contained in:
@ -234,6 +234,7 @@ var abl = /*html*/ `<h4>Auto Bed Levelling</h4>
|
||||
<select name="abl">
|
||||
<option value="0">No ABL</option>
|
||||
<option value="1">Probe new mesh at the start of print - G29 (BLtouch,EZABL,etc)</option>
|
||||
<option value="8">Probe new mesh at the start of print (Klipper) - BED_MESH_CALIBRATE</option>
|
||||
<option value="2">Restore saved ABL/manual mesh - M420 S1</option>
|
||||
<option value="3">Prusa MK3 - G28 W followed by G80</option>
|
||||
<option value="4">Prusa Mini - Only heat nozzle to 170, then G29</option>
|
||||
|
@ -387,6 +387,9 @@ function processGcode(formName) {
|
||||
if(abl == 7){
|
||||
gcode = gcode.replace(/;G29 ; probe ABL/, "G29 L2 ; Load the mesh stored in slot 1\nG29 J ; Probe 3 points to tilt mesh");
|
||||
}
|
||||
if(abl == 8){
|
||||
gcode = gcode.replace(/;G29 ; probe ABL/, "BED_MESH_CALIBRATE ; Klipper equivalent of G29");
|
||||
}
|
||||
// firstlayer test square array
|
||||
if(name == "firstlayerForm"){
|
||||
var squares = "";
|
||||
|
Reference in New Issue
Block a user