<p>Continuing a failed print has nothing to do with automatic bed leveling. It has everything to do with knowing which line failed, repositioning to resume from that point, and resuming from that line of code.</p>

CC BY-SA 3.0
2017-05-11T11:53:52.043Z
but you won't be able to do a g29 because your half printed part will be in the way. Will it not be slightly off the z axis?
Ageis
CC BY-SA 3.0
2017-05-11T12:09:01.563Z
You may be able to G29 the surface of the print; my printers don't do G29; we set the Z manually. I would make a copy of the file, strip out the moves already executed, insert a G92 Z## where ## is the present Z position, and restart the print from there, with this edited file.
Davo
CC BY-SA 3.0
2017-05-13T19:43:42.323Z
I'm not sure this answer is right. The printer will no longer compensate in the same way, so if your bed was really tilted, the newly printed layers won't be in the same plane as the original layers.
Tom van der Zanden
CC BY-SA 4.0
2019-07-19T12:09:17.823Z
@Ageis The compensation of the shape of the bed when using ABL is only active for a few mm's of your print if it has `#define ENABLE_LEVELING_FADE_HEIGHT` enabled. The height can be set with `M420 Z<height>`
0scar
CC BY-SA 3.0
2017-05-10T11:02:54.963Z
2017-05-10T11:02:54.963Z
Davo
<p>So like resuming any print, if you've already done the work to find the layer you failed at, edited the G-code to start from that layer. But now you feel stuck because to start a print you need to home your printer right? And homing with a BLTouch makes it probe the center of your bed... which happens to be where your print is at. IF you're on Klipper, you can put something like this here:</p>
<pre><code>[homing_override]
set_position_z:0
gcode:
 G90
 G1 Z10 F600
 G28 X Y
 #G1 X161 Y125 F6000 ;old bed center
 G1 X245 Y215 F6000 ;far right corner of the bed. You may have to adjust your X and Y for your BLTouch location as mine is on a Hero Me hotend
 G28 Z
 G1 Z100 F24000 ; move Z-axis up so hotend doesn't hit the print when zeroing. Adjust this as needed to clear your print from where it failed
 G1 X0 Y0 F24000
</code></pre>
<p>And from there, the printer should Home and you can start your partial G-code from here. IF YOU HAVE KLIPPER. Make sure to remove any purge lines or stuff like that from your Start Print code.</p>

CC BY-SA 4.0
2022-05-10T02:31:05.303Z
2022-05-11T21:22:14.053Z
2022-05-11T21:22:14.053Z
Taeleus
<p>When you have Auto Mesh Bed Leveling enabled on your printer, it's not possible to continue a failed print, is it?</p>

<diy-3d-printer>
Continuing a failed print when you have Auto Mesh Bed Leveling
Ageis
# Continuing a failed print when you have Auto Mesh Bed Leveling

(Asked by: username_0 on 2017-05-10)

When you have Auto Mesh Bed Leveling enabled on your printer, it's not possible to continue a failed print, is it?

**Tags:** diy-3d-printer

---

## 2 answers

### Answer by username_1 on 2017-05-10. Score: 4

Continuing a failed print has nothing to do with automatic bed leveling. It has everything to do with knowing which line failed, repositioning to resume from that point, and resuming from that line of code.

> **Comments:**
> **username_0**: but you won't be able to do a g29 because your half printed part will be in the way. Will it not be slightly off the z axis?  
> **username_1**: You may be able to G29 the surface of the print; my printers don't do G29; we set the Z manually. I would make a copy of the file, strip out the moves already executed, insert a G92 Z## where ## is the present Z position, and restart the print from there, with this edited file.  
> **username_2**: I'm not sure this answer is right. The printer will no longer compensate in the same way, so if your bed was really tilted, the newly printed layers won't be in the same plane as the original layers.  
> **username_3**: @Ageis The compensation of the shape of the bed when using ABL is only active for a few mm's of your print if it has `#define ENABLE_LEVELING_FADE_HEIGHT` enabled. The height can be set with `M420 Z<height>`  

---

### Answer by username_4 on 2022-05-10. Score: 1

So like resuming any print, if you've already done the work to find the layer you failed at, edited the G-code to start from that layer. But now you feel stuck because to start a print you need to home your printer right? And homing with a BLTouch makes it probe the center of your bed... which happens to be where your print is at. IF you're on Klipper, you can put something like this here:
[homing_override]
set_position_z:0
gcode:
 G90
 G1 Z10 F600
 G28 X Y
 #G1 X161 Y125 F6000 ;old bed center
 G1 X245 Y215 F6000 ;far right corner of the bed. You may have to adjust your X and Y for your BLTouch location as mine is on a Hero Me hotend
 G28 Z
 G1 Z100 F24000 ; move Z-axis up so hotend doesn't hit the print when zeroing. Adjust this as needed to clear your print from where it failed
 G1 X0 Y0 F24000

And from there, the printer should Home and you can start your partial G-code from here. IF YOU HAVE KLIPPER. Make sure to remove any purge lines or stuff like that from your Start Print code.


---

