1 (edited by ch355ma5t3r 2012-09-29 17:34:29)

Topic: How do I start from a specific line in the gcode?

I was working on a fairly large complex print using Repetier Host and about half way through the print my printer had a communication error and disconnected.  I would like to resume the print from the next line in the gcode but I'm not sure how to go about it.  I started the print again once I reconnected but it tries to start from the beginning.  I want to skip ahead to the last line it completed.

2

Re: How do I start from a specific line in the gcode?

Have you tried simply deleting all the gcode lines you don't want to run up to the point you want to start at?

3

Re: How do I start from a specific line in the gcode?

No I didn't try that but it sounds like something to try if it happens again.  Thanks for the suggestion.

4

Re: How do I start from a specific line in the gcode?

Totally jinxed myself there.  I had the communication error again and it stopped at layer 512 of 598.  My print completely cooled before I discovered it and in hindsight I should have warmed the top of the print with my heat gun before I started printing again.
     I put x and y back in their home positions then I scrolled through the gcode in the editor until I found the last line it said it completed in the log.  Working back towards the beginning, I found g1 command with a z location and went back even further until I located the next smallest z location and put my cursor at the start of that line.  I scrolled back to the beginning of the code, held down the shift key and clicked on the first line after the m82 command the clicked the cut button in the editor.  After I clicked run it homed out and completed the print.
     As you can see from the pic it didn't want to stick very well because the model had cooled too much before the next layer.
     Thanks MrWetsnow for pointing me in the right direction.


  http://img244.imagevenue.com/loc440/th_019285326_CIMG1452_122_440lo.JPG

5

Re: How do I start from a specific line in the gcode?

I had been wondering the same thing.
Thank you for your post, it helped me a lot!!! smile

6

Re: How do I start from a specific line in the gcode?

fyi, your image host uses slide over flash adverts.
and popup adverts for porn sites.

just a warning to anyone else who may be at work...
Yay...