I am kinda new to this and just had filament run out on our first big print overnight. I reloaded it and hit resume but got a message that it couldn’t because it wasn’t connected. It doesn’t seem like I’m going to get it to resume. I hate to loose this print at 95% after 30 some hours. How can I edit the G code to get it back to where it was? I am on a Mac - what program could I use? Any help on salvaging this print would be fantastic! Thank you!
I’ve never used the resume functionality (I use octoprint, which the filament sensor doesn’t work), but you should be able to do the common trick:
- Measure the height of the current print
- In your slicer (idk about luban, I use super slicer), you can probably cut your print at a specific height, cut it at the current height of your print
- Generate gcode for just the top part of the print
- A: (easier, buy probably won’t look as good) remove the existing print from the bed, and just print the top part, then glue together
B: (harder, potentially ruining your entire print, but could look better) open up the gcode, find the first part where the level is set (there should be some G90 and G1 commands, after which it should switch to G91 commands, as long as you make sure there are no G90+G0 command setups that do absolute positioning, you should be able to modify the gcode to just basically resume from where it left off.