I'm using an Ultimaker Original and using the Pause at Z plugin to stop the print so that I can insert nuts into a print. I want the plugin to perform an extrusion before starting to print a layer so that the filament comes out cleanly. The issue I'm having is that if I do any kind of extrusion, just before printing the first layer after pausing, the Ultimaker does a huge retraction, defeating the purpose of doing the extrusion in the first place!
Here's some example code:
f.write(";TYPE:CUSTOM\n") f.write("M83\n") #Set to relative modenewZ = z + moveZf.write("G1 Z%f F300\n" % (new