Running Custom Gcode

I apparently had a power blip at some point and the “Resume Printing” feature was apparently no where to be found. Thing is, I know exactly where/what layer it stopped on. I had previously exported the entire Gcode at the begining of the print and so I can recover that.

So my question is, is there a way to run custom Gcode in Luban and if so, how would I accomplish that. Any help would be greatly appreciated because I’d really like to not waste all of that filament due to a failed “feature”.

Let me know if I can help. Been there, done that!

1 Like

Someone was kind enough to link me elsewhere(after I created this post) to your post where you spoke about how you fixed your problem. The program reads that it will start on the layer it stopped at. I just hope that it doesn’t run into my model and knock it over.

1 Like

You can edit the g-code to keep the z position above your model before it starts to print.

-S

Where in the Gcode would I do that out of curiosity? I ask because my modification just has it “printing” a strand straight up until it reaches the level needed.

just add “G28 Z” before the code you run, that will home the Z axis, so it will move the print head all they way up before doing anything else… and its all downhill from there lol XD

1 Like

I did what you suggested and it still has the print starting from the front left corner and then printing straight up into the air until it reaches the level needed to restart the print. So please, if there’s a way to start the Print Head in the air itself, I would like to know what that code is and exactly where to put it.

Atom, my code worked out anyways but I will keep your suggestion in mind for the next time this happens.

I would be interested in seeing the gcode, i can let you know what needs to change in case it happens again.

I’m assuming you just need to choose to add Atom’s suggestion at a different point in the gcode.

-S

1 Like

It might be that its homing z then going to the front corner and working its way up. At witch point we would want to remove some code.