GregValiant 1,454
I'm getting a feeling that you are printing via the USB connection. Is that correct? If that is true, then when the machine stops is there any message on the screen? "Click to RESUME" maybe? That is a known problem when using Cura as a printing host and a particular chain of events happens in the Gcode.
To re-start a print - as @gr5 says, edit the file and erase the layers, skirt/brim up to your restart layer. Along with adding the G92 line you should add a Z movement to insure that the machine moves the print head above the existing part on the plate, BEFORE the Gcode tells the printer to move in the XY. If you are re-starting a print at say Z=35.6 and you don't move your Z first then the printer will move the head from the home position 0,0,0 in a straight line to the new start point. Crash. So you need to add a line like "G1 Z45.6 F2700" right after the G92 line that gr5 described and before the Gcode tells the printer to move in the XY.
Yes - a Gcode file is a simple text file. When you save the file in a text editor you may have to manually get rid of the TXT name extension and type in GCODE. You can always rename a saved text from from YourFile.txt to YourFile.gcode.
You have probably noticed that layer numbering in Gcode starts at 0 while layer numbering in Cura preview starts at 1. Pay attention when deciding what layer number to actually re-start at. It's an easy mistake to make.
Edited by GregValiant
Recommended Posts
gr5 2,295
Some versions of Marlin will let you continue a failed print.
Anyway, typically you can keep the header part where it homes the print head and then delete everything up until the layer where you want it to start. The one caveat is the extruder. The extruder value is the accumulated extruder position. So an hour into the print the position might be a few meters, say it was 2 meters it would be E2000 in the gcode. If you scroll quickly through the gcode file you can see the E value keeps increasing very slowly throughout the file.
So there is a simple trick: G92. This resets any axis position to be where it is now. So like this:
G92 E2000
G1 E2001
The first line above tells the extruder "hey - I know you think you are at E0 but you are really at E2000 - don't extrude 2 meters of filament please."
The second line tells the extruder to move to 2001mm which would extrude one mm of filament.
So just fine the first E value (or even better the final E value deleted) and set the extruder there with the G92 command.
Make sure you keep the header commands that home the 3 axes and turn on the heater and such.
AND FINALLY TO ANSWER YOUR QUESTION. Just save it as a gcode file and print it directly. Cura should not be involved in any of this.
Link to post
Share on other sites