Page 2 of 2

Re: post processing script

Posted: Mon Mar 14, 2016 11:17 am
by Broncosis
Thanks for your help guys
I kind of agree with way the comments are handled
It needs to not be machine readable
I had gcode that was uncomented
And had my machine attempt to do stuff
That thankfully was no real harm but the potential
Of having a machine move before it is homed
Could cause a problem along with cold extrusion
And a number of machine specific things that could go wrong

I too agree that pausing should be a simpler task

Re: post processing script

Posted: Sun Jul 26, 2020 1:21 pm
by supercazzola
thank you for this thread, and solution

Re: post processing script

Posted: Fri Jul 31, 2020 6:42 pm
by fatboy1271
For my color change I use the bottom area of the Scripts tab. I found the info here: https://www.youtube.com/watch?v=yFzlJB0XbNE

;Filament change code below. Specify layer to swap filament. Print will pause and you can change filament, click LCD button to resume print.
{REPLACE "; layer" "M117 Layer"}; show layer number and Z height on LCD
{REPLACE " Z = " " Z="}; make room on LCD for text
{REPLACE "\nM117 Layer 279, Z=" "\nG1 X10 Y5\nM300 S1000 P1000\nM0\nM117 Layer 279, Z="}; pause at layer, move head, play sound

It works incredibly well with my CR-10S.