Help finding poop events in Gcode

I’d like to create a macro or script for Notepad++ that I can count the number of poop flush events and also poop tower flush events to help reduce waste as I fiddle with settings.

I put in a request for adding it to the studio

If someone is familiar with the Gcode that can help I would be appreciative.

The amount of flush events is already calculated in Bambu Studio.

If you want to count them using a text editor as you described you simply need to add something that is unique to the “Change Filament” gcode section like adding

; Flush Event Counter

image

Then use the text editor of your choice to search for “Flush Event Counter” in your gcode.

1 Like

Is there a way to differentiate between tower flush and poop flush?

Tower flush?

Normal sequence of events is that the filament is flushed at the poop shoot, then moves to the prime tower and then to the part. It will print all of that colour for the layer and then flush for the next colour and repeat.

1 Like

Thanks. I print giveaways for teachers at a local school. Trying to optimize the process on multi-color prints using giveaways to flush into. I’d like to do away with the flush tower and as many poops as possible per plate.

@Ukdavewood has a good thread about flushing into objects for a similar project.

1 Like

Thanks. I was struggling with the settings today. Some boxes get greyed out. Instead of printing I was reading and searching for info on better management.