Pause to change filament color in G-code

Is someone knowledgeable enough with 3D printing to teach me how to insert a pause in the G-code of a file so I can execute a filament color change? Is there a class that teaches this skill?

If the g-code is generic - an M00 should be what you need. Just insert it where you need the pause to occur.
Of course there is no guarantee the ‘controller’ will allow a continue after you hit GO again. Try it and see.

I nearly have it working flawlessly. From now until Tuesday I will be studying for a job interview. After that (maybe as soon as Tuesday evening) I will be able to tidy it up.

Nope. In RepRap G-code that shuts down the machine. Fortunately OctoPrint captures that G-code and “pauses”. From OctoPrint’s perspective that means “stop sending G-code” which leaves the nozzle hot just touching the part. By the time the human gets the filament changed some plastic has oozed out onto the part and the hot nozzle has melted a crater in the part.

In the end that behaviour actual works well. It just requires more work than sending an M00.

There is!

https://calendar.dallasmakerspace.org/events/view/8507

1 Like