Loading

Report as inappropriate

So there really is a lack of proper info out there on how to do that. So after much research, i think i got it.

https://youtu.be/OiixypnOS8o

Filament Color Change with S3D

First Choose which option you are interested on.

Option A
You want to display your current layers on your LCD.
You want to pause print, move hot end out of the way, and change filament then resume.

Option B
You want to pause print, move hot end out of the way, and change filament then resume.

Here is the code.

Option A
Go to Process Settings
Go to Scripts Tab
On the bottom box (post processing) enter

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

Please note you must change the layer's number to the layer you want the color to change at!
You can repeat the third line as many times as needed, just update the layer number accordingly.
**Order of the above code matters. Enter it exactly. The third line assumes the previous two lines exist.

Option B
Go to Process Settings
Go to Scripts Tab
On the bottom box (post processing) enter

{REPLACE "; layer 4, Z = " "\nG1 X10 Y5\nM0\n; layer 4, Z = "}

Please note you must change the layer's number to the layer you want the color to change at!
You can repeat the third line as many times as needed, just update the layer number accordingly.

In simple terms, this is what it accomplishes.
First line adds M117 to the layers on the Gcode. It displays them on the LCD.
Second line eliminates some spaces so the whole data shows on a 20x4 display.
Third line is what looks for the M117 Layers label, enters a new line and inserts the coordinates to park, and pauses print.

UPDATE 1/14/17
Tip: (Thanks Plust)
Place a semicolon for the Option A 3th line or the line in Option B if you need a print without changing filament.
Example:

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

UPDATE 12/9/2017
I have found out that for the Wanhao Duplicator i3 the pause command is M25 instead of M0. Update script code accordingly.

Also, some firmwares do not recognize M0 as pause, in that case, you may also try M600