Loading

Report as inappropriate

This works great!
I have add some code to the line so the printer beeps when I have to chance filament.
(M300 Sxxxx Sxxxx)
Sxxxx frequency in Hz
Pxxxx duration in milliseconds

Option A 3th line:
{REPLACE "\nM117 Layer 4, Z=" "\nG1 X10 Y5\nM300 S1000 P1000\nM0\nM117 Layer 4, Z="}

Option B:
{REPLACE "; layer 4, Z = " "\nG1 X10 Y5\nM300 S1000 P1000\nM0\n; layer 4, Z = "}

Tip:
Place a semicolon for the Option A 3th line or the line in Option B if you need a print without chancing filament.
Example:

{REPLACE "; layer" "M117 Layer"}
{REPLACE " Z = " " Z="}
;{REPLACE "\nM117 Layer 4, Z=" "\nG1 X10 Y5\nM300 S1000 P1000\nM0\nM117 Layer 4, Z="}

Excuses for my bad English ;)