Hello everyone, I’ve gone down a brain-breaking rabbit hole upon discovering (thanks to failing a purge calibration model) that the P2S has “optimised” default G-code that mandates an 𝑥 amount of flushed filament on every print start up & filament change. This results in a failed calibration gauge as the printer poops the material intended for the model:
I have the P2S Combo & this occurs even when Project Filament > Flushing Volumes are set to ‘0’. I’ve successfully tested a fix for the purge on P2S start (Step 2) when using the same filament across prints, but I also want to eliminate purging for filament changes so that everything is flushed into the calibration model & I can put them all in a neat lil’ tray.
↷
I know that the G-code responsible for this flushing process is located in: Bambu Studio > Printer Settings > Machine gcode > Change filament G-code. My problem is that the P2S flushing G-code on filament change is different from P1S/other models. Any solution for reducing filament waste does not address these purges.
I’ve seen other users who end up stuck at this step. If I had to guess, it may be executing between; VFLUSH_START to ; VFLUSH_END:
I’m stumped for a solution short of becoming proficient in the G-code used. I eventually want to optimise my tubing & G-code for loading/unloading, filament changeovers, nozzle heating when idle, etc… so this is an inevitability, however I’m also still fairly new to 3D printing (
). The P2S uses VG1, so I started looking into the similar G1 E1() F() function in other printer models but the reality is I’m out of my depth when it comes to testing these functions right now.
↷
My only other option is contacting Bambu Labs, though from some of the posts on this forum, that might take as long as learning it myself. Use cases where I think a solution will benefit, for anyone in the same boat:
- Using calibration models to fine tune filament purges for tricky or pigmented colours e.g. purge calibration gauges or ‘gradient’ prime towers.
- Incorporating the filament gradient from colour changes in multi-colour prints e.g. flushing into object/supports.
- Anything ‘zero waste’ for the P2S, i.e. actual optimisation of filament profiles & print presets.
- Satisfying users whose brains are tickled by minutely accurate printer calibrations.
I just want to calibrate my filament purges without this wasteful “optimisation” in the way. Someone with the tenacity for code-level tinkering, please help!
Running Bambu Studio v2.5.0.66 & firmware v1.1.1.0.


