Page 3 of 3

Re: Programmed Pause

Posted: Sat Nov 28, 2020 9:21 am
by benfinklea
{REPLACE "; layer 3" ";move away and pause \nG1 Z10 F1800 \nG1 Y10 X10 F3000 \nM0 \nG28 X \nG92 E0 \nG1 E-1.7500 F900 \n; layer 3"}
A slight adjustment to Broncosis' amazing bit of code:

Code: Select all

{REPLACE "; layer 3," ";move away and pause \nG1 Z10 F1800 \nG1 Y10 X10 F3000 \nM0 \nG28 X \nG92 E0 \nG1 E-1.7500 F900 \n; layer 3,"}
Otherwise, you'll be pausing at layer 3, 30, 31, 32...etc.

I added a trailing comma after the layer number in the replace command. That should be enough to make the layer number truly unique in the gcode file. Another suggestion, if you use this, is to change your Outline Direction to print Inside-Out to reduce blobs or missing layers when you resume.