diff --git a/calibration.html b/calibration.html index 7211934..16e637f 100644 --- a/calibration.html +++ b/calibration.html @@ -158,6 +158,7 @@ +

Retraction

If you don't know what to enter here, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable.

@@ -522,6 +523,7 @@ +

Retraction

For intial tests, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable. Vary either side of this for each segment.

@@ -631,6 +633,7 @@ +

Retraction

For intial tests, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable. If you are following this guide in order, you should already know your ideal retraction values.

@@ -792,6 +795,7 @@ +

Retraction

For intial tests, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable. If you are following this guide in order, you should already know your ideal retraction values.

diff --git a/js/gcodeprocessing.js b/js/gcodeprocessing.js index 358d9dd..35a8669 100644 --- a/js/gcodeprocessing.js +++ b/js/gcodeprocessing.js @@ -123,6 +123,9 @@ function processBaseline(){ baseline = baseline.replace(/;G29 ; probe ABL/, "G29 ; probe ABL"); baseline = baseline.replace(/;M420 S1 ; restore ABL mesh/, "M109 S"+hotendTemp+" T0"); } + if(abl == 5){ + baseline = baseline.replace(/;G29 ; probe ABL/, "G29 L1 ; Load the mesh stored in slot 1\nG29 J ; Probe 3 points to tilt mesh"); + } if(centre == true){ var baselineArray = baseline.split(/\n/g); @@ -225,6 +228,9 @@ function processRetraction(){ retraction = retraction.replace(/;G29 ; probe ABL/, "G29 ; probe ABL"); retraction = retraction.replace(/;M420 S1 ; restore ABL mesh/, "M109 S"+hotendTemp+" T0"); } + if(abl == 5){ + retraction = retraction.replace(/;G29 ; probe ABL/, "G29 L1 ; Load the mesh stored in slot 1\nG29 J ; Probe 3 points to tilt mesh"); + } if(centre == true){ var retractionArray = retraction.split(/\n/g); @@ -324,6 +330,9 @@ function processTemperature(){ temperature = temperature.replace(/;G29 ; probe ABL/, "G29 ; probe ABL"); temperature = temperature.replace(/;M420 S1 ; restore ABL mesh/, "tempmini"); } + if(abl == 5){ + temperature = temperature.replace(/;G29 ; probe ABL/, "G29 L1 ; Load the mesh stored in slot 1\nG29 J ; Probe 3 points to tilt mesh"); + } temperature = temperature.replace(/M140 S60/, "M140 S"+bedTemp); temperature = temperature.replace(/M190 S60/, "M190 S"+bedTemp); temperature = temperature.replace(/G1 E-5.0000 F2400/g, "G1 E-"+retDist+" F"+retSpeed); @@ -454,6 +463,9 @@ function processAcceleration(){ acceleration = acceleration.replace(/;G29 ; probe ABL/, "G29 ; probe ABL"); acceleration = acceleration.replace(/;M420 S1 ; restore ABL mesh/, "M109 S"+hotendTemp+" T0"); } + if(abl == 5){ + acceleration = acceleration.replace(/;G29 ; probe ABL/, "G29 L1 ; Load the mesh stored in slot 1\nG29 J ; Probe 3 points to tilt mesh"); + } if(centre == true){ var accelerationArray = acceleration.split(/\n/g);