Single Extruder Multiple Color Printing Help

  • Hello,

    I poked around for a few minutes and I don't seem to be finding anything about this. I am aware that M600 exists but I was wondering if anyone has done a writeup/tutorial on this topic?
    All I am looking to do is a simple color change for specific areas of my prints, I use Simplify3D if that matters.
    Can anyone point me in the right direction?


  • Moderator

    M600 lets you call filament-change.g, which can contain whatever gcode commands you want. So you'd insert M600 into your gcode file at the layer or point you want to swap the filament.

    This command behaves like M226 except that if macro file filament-change.g exists in /sys on the SD card, it is run in preference to pause.g.

    So you could tell the print head to retract, move to a certain location, pop up a dialogue box to wait for you, you swap the filament and when you press ok, it can return to where you want it to go.

    ; filament-change.g
    G10		; retract filament
    G91		; relative positioning
    G1 Z5 F600	; lift Z by 5mm
    G90		; absolute positioning
    G1 X10 Y10 F10000	; go to X=0 Y=0
    M291 P"Swap filament" S2
    G1 R1 Z5 F10000 ; go to 5mm above position of the last print move
    G1 R1          ; go back to the last print move
    G11		; unretract

  • Hey now that is perfect, super useful explanation @Phaedrux, thanks again. One more question though, Can slicers integrate this functionality, so I can visually verify it's going to do it when/where I want it to? Simplify3D in particular?

  • Moderator

    Prusa slicer does. No idea about s3d

Log in to reply