Recover failed print (modify g-code to start from Z height)
 
Notifications
Clear all

Recover failed print (modify g-code to start from Z height)  

  RSS
polydisco
(@polydisco)
Active Member
Recover failed print (modify g-code to start from Z height)

I was trying to save a 4 days print which was 80% finished. Basically it tried to do it using this CNC kitchen tutorial:

https://www.cnckitchen.com/blog/guide-resuming-a-failed-3d-print

This method helped me recover prints on my creality printers before. However due to the more complex startup routine of the XL I couldn’t figure out which parts of the g-code I should delete. Can you give me a hint how to accomplish this in the future?

I also posted a feature request, ideally this should be part of the firmware for large scale printers. It was only Petg so I wasted 100€, using performance filaments this could quickly be a few hundred bucks going to waste.

Posted : 14/10/2024 8:02 am
1 people liked
Robecorp
(@robecorp)
Member
RE: Recover failed print (modify g-code to start from Z height)

Same situation, I wish PRUSA will develop a solution for these situations and failed prints. Much of our time and our money in the trash by failed long prints. Firmware update is the way!  Please @PRUSA team !!

Posted : 15/10/2024 6:16 pm
1 people liked
polydisco
(@polydisco)
Active Member
Topic starter answered:
RE: Recover failed print (modify g-code to start from Z height)

Hi David,I'm following up on our last chat conversation regarding your questions about continue to print on a higher position of the code. I talked to my colleagues and unfortunately there is no specific guide or recommendation for it except for printing the missing part and gluying. You can play with the code, but we don't take any responsibility if it fails or damages the printer.Have a good day

^^Answer from the support staff. ^^

The startup routine is too complex for me to figure out what to do without any risk of damaging the machine.
I would really appreciate if Prusa could give some guideline here. PLEASE!
If not it would be great to hear from professional users with better knowledge of g-code how they solve such issues.

 

Posted : 21/10/2024 6:07 pm
Bartp
(@bartp)
Active Member
RE: Recover failed print (modify g-code to start from Z height)

HI All Of You 

I do not agree with @prusa team they as developers if they were smart would do it no problem it should work in such a way that you can start the gcode from any height by doing it manually e.g.after resuming you lower the Z so that the head does not hit the model and manually do JOG so that the nozzle is brought to a position 5mm above the table. Then press the button with the command ‘catch Z 0’, after which it is necessary to lower the table below the model and hide the extruder, then enter in the board from which row the printout should start, e.g. 75 and the printer will know where to start at a speed of e.g. 10mm semi the first layer.

I am experimenting with the gpt chat we discuss every move and maybe I can do it today but....

The sad truth is that Joseph Prusa makes money on filaments and generally does not care if it prints out or not so @prusa team will not make such an improvement because less filament will be sold and the more you fail the more filament will be sold, they will do it only when the chinese do it first then they will be forced to do it because it is not rocket sciences

 

Posted : 15/06/2025 8:54 am
Bartp
(@bartp)
Active Member
RE: Recover failed print (modify g-code to start from Z height)

here is the guidance

Posted : 22/06/2025 10:42 am
polydisco
(@polydisco)
Active Member
Topic starter answered:
RE: Recover failed print (modify g-code to start from Z height)

@bartp cool, any code you can share? @prusa Please just integrate it as a recovery feature without the need of Z homing. This seems not to be a hard thing to implement, and we customers should not have to use chatGPT to recover failed prints. Even better if the XL would be just reliable, but unfortunately it isn't. 

Posted : 23/06/2025 10:29 am
Bartp
(@bartp)
Active Member
RE: Recover failed print (modify g-code to start from Z height)

As you see the folowing gcode is from z 13.67 , you can put here the rest of lost print wich you have but be honest @prusa should do this not we users and remeber that you need to find route to homing Z and this should be used as grounf for start to find your route to find where you make home z Or alwejs print on right side to easy mowe print head as on mowivie above have nice fun with recovery whitout @prusa , to prusa guys When I look at all the contortions you're putting into this XL, I'd send you all to hell. You're doing everything except what needs to be done. Even the filament feed tube is too thin because it blocks the filament. Do you even use this printer, or are you just looking for something else to break? Get excited about the extruder, and it won't print TPU.
I could go on for hours. The XL printer is overrated.

; --- WZNOWIENIE DRUKU PRUSA XL, DRUGA GŁOWICA (T1), Z=13.67mm, M83 + PURGE NA BOKU ---
M140 S60 ; podgrzewanie stołu
M104 T1 S210 ; podgrzewanie głowicy T1
M190 S60
M109 T1 S210
G28 ; home wszystkich osi (w rogu, poza modelem)
G1 Z13.85 F1200 ; unieś głowicę ponad model przed pobraniem T1
T1 ; pobierz głowicę T1
M83 ; tryb relatywny ekstrudera (pewność!)
G1 X5 Y5 Z13.67 F6000 ; jedź do rogu stołu na wysokość warstwy
G92 E0 ; wyzeruj ekstruder
G1 E10 F300 ; wypchnij 10 mm filamentu (purge)
G1 X10 Y10 F6000 ; wróć w miejsce startu modelu
; --- START DRUKU OD Z=13.67 ---
;Z:13.85
;HEIGHT:0.200001
;BEFORE_LAYER_CHANGE
M83 G92 E0.0
;13.85

Here add the rest of failed print

Posted : 02/09/2025 8:31 am
Share: