Jump to content

Where to cut GCode in order to save a failed print?


elder731

Recommended Posts

Posted · Where to cut GCode in order to save a failed print?

Hello,


Forgive me if this is the incorrect place for this topic—new to these forums.

I was 8.5 hours into a 9-hour print when a snag in the filament spool caused the print to "finish" the last 30 minutes with no actual extrusion happening. I've identified the Z-Height where the failure happened, and want to continue the print from that point by removing all GCode before that point. In looking at the Cura GCode, I'm realizing that rather than being noted in a really obvious place (such as as the beginning of a new layer), the Z-Height is listed in what seems like the tail-end of a layer among a lot of other code that I'm having trouble deciphering. Basically, I want to remove all code from before my relevant point, but afraid of deleting something important (like extrusion info). Can somebody lend a hand in where I should be editing the code from? I also understand that I'll need to modify some of the startup code, so I won't just be deleting everything before this point.

The Z-Height I need to be at is 119.6. I've made the Z-Height line bold, as well as the start of the next layer in this cut/paste of the section below. 

Thanks for reading!

 

---

G1 X71.679 Y132.971 E179.90897

G1 X71.709 Y132.527 E179.92377

G1 X71.807 Y132.043 E179.9402

G1 X71.981 Y131.528 E179.95828

G1 X72.229 Y131.025 E179.97693

G1 X72.498 Y130.605 E179.99352

G1 X72.812 Y130.215 E180.01017

G1 X73.2 Y129.826 E180.02845

G1 X73.61 Y129.49 E180.04608

G1 X74.047 Y129.201 E180.0635

G1 X74.512 Y128.964 E180.08086

G1 X75.005 Y128.781 E180.09835

G1 X75.491 Y128.662 E180.11499

G1 X76.023 Y128.589 E180.13286

G1 X76.544 Y128.573 E180.15019

G1 X77.012 Y128.607 E180.1658

G1 X77.54 Y128.707 E180.18367

M204 S3000

M205 X10 Y10

G0 F6000 X77.729 Y128.77

G0 X77.476 Y129.528

G1 F2400 E174.18367

;MESH:NONMESH

G0 F600 X77.476 Y129.528 Z119.6

G0 F6000 X78.31 Y129.507

G0 X79.057 Y128.465

G0 X69.85 Y111.899

G0 X69.377 Y110.67

G0 X69.083 Y109.509

G0 X68.926 Y108.155

G0 X69.017 Y106.293

G0 X69.412 Y104.54

G0 X70.067 Y102.831

G0 X71.173 Y100.787

G0 X73.074 Y98.036

G0 X82.587 Y86.112

G0 X84.882 Y83.522

G0 X86.653 Y81.854

G0 X88.192 Y80.7

G0 X89.954 Y79.716

G0 X91.156 Y79.239

G0 X92.601 Y78.858

G0 X94.467 Y78.667

G0 X114.111 Y79.673

G0 X115.244 Y79.07

G0 X115.963 Y76.581

;TIME_ELAPSED:28935.329936

;LAYER:597

M204 S1800

M205 X8 Y8

;TYPE:FILL

;MESH:Centoculops_Posed_3DPrint.stl

G1 F2400 E180.18367

G1 F3000 X118.565 Y73.979 E180.30606

G1 X118.591 Y73.973 E180.30695

G1 X118.962 Y73.93 E180.31937

G1 X119.366 Y73.942 E180.33281

G1 X119.682 Y73.997 E180.34348

G1 X119.998 Y74.092 E180.35446

G1 X120.246 Y74.196 E180.3634

G1 X120.465 Y74.323 E180.37182

G1 X120.476 Y74.331 E180.37227

G1 X116.042 Y78.765 E180.58084

G1 X116.157 Y78.971 E180.58868

G1 X116.297 Y79.159 E180.59648

G1 X116.488 Y79.353 E180.60553

G1 X116.691 Y79.514 E180.61415

G1 X116.993 Y79.7 E180.62595

G1 X117.2 Y79.794 E180.63351

G1 X117.258 Y79.811 E180.63552

G1 X121.324 Y75.745 E180.82677

M204 S3000

M205 X10 Y10

---
 

  • Link to post
    Share on other sites

    Posted · Where to cut GCode in order to save a failed print?

    As a start, you can delete everything before the line 

    ;LAYER:597

    The G0 lines are just travel moves to avoid crossing the print.

    You need to set the extruder to the last E value before the layer change, so insert a lines

    G92 E174.18367   ;set extruder to last position

    G0 F600 X77.476 Y129.528 Z119.6 ;move to start of new layer

     

    just before G1 F2400 E180.18367

     

     

    so you end up with

    ;LAYER:597

    M204 S1800

    M205 X8 Y8

    ;TYPE:FILL

    ;MESH:Centoculops_Posed_3DPrint.stl

    G92 E174.18367   ;set extruder to last position

    G0 F600 X77.476 Y129.528 Z119.6 ;move to start of new layer

    G1 F2400 E180.18367

    G1 F3000 X118.565 Y73.979 E180.30606

    G1 X118.591 Y73.973 E180.30695

    G1 X118.962 Y73.93 E180.31937

    G1 X119.366 Y73.942 E180.33281

    G1 X119.682 Y73.997 E180.34348

    G1 X119.998 Y74.092 E180.35446

    G1 X120.246 Y74.196 E180.3634

    G1 X120.465 Y74.323 E180.37182

    G1 X120.476 Y74.331 E180.37227

    G1 X116.042 Y78.765 E180.58084

    G1 X116.157 Y78.971 E180.58868

    G1 X116.297 Y79.159 E180.59648

    G1 X116.488 Y79.353 E180.60553

    G1 X116.691 Y79.514 E180.61415

    G1 X116.993 Y79.7 E180.62595

    G1 X117.2 Y79.794 E180.63351

    G1 X117.258 Y79.811 E180.63552

    G1 X121.324 Y75.745 E180.82677

    M204 S3000

    M205 X10 Y10

    Now you need to somehow home the printer without knocking the print off the bed and get things heated up.

    manually move the nozzle above 119.60 then start printing.

    I think that should work🤞

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...