Analysis updated 2026-05-18
Replace the default start and stop G-code on a Bambu Lab P2S printer for faster, quieter startup.
Get more reliable nozzle cleaning before each print starts.
Skip automatic filament unloading to speed up back to back prints with the same filament.
Switch freely between the default and optimized printer profile in BambuStudio.
Only tested with PLA and PETG filament, the author warns to verify the code matches your exact printer and firmware before running it.
This project is a set of replacement print start and stop instructions for the Bambu Lab P2S 3D printer. It does not change the printer's firmware, it replaces the raw machine code, called G-code, that runs automatically before and after every print. The author likes the P2S but felt its default startup and shutdown routines were noisy, slower than needed, and did a poor job of cleaning the nozzle before printing, leaving it prone to leftover ooze sticking to the nozzle. The README links to a video showing the stock nozzle cleaning failing to work well as the main example of the problem. The optimized start code keeps the printer's overall intended process the same but fixes specific issues. It starts warming the nozzle earlier so heating overlaps with other steps, reduces how far the print head moves up and down during setup, lowers a very aggressive acceleration setting used only during startup, and turns on motor noise suppression before the vibration reducing feature instead of after, since turning it on too late made no difference and left startup louder than necessary. It also changes how the nozzle is cleaned: a little extra filament is pushed out, the nozzle is allowed to cool partway before the leftover blob is flicked off, which the author says removes it more reliably than the stock process. A vibration calibration step that produces a loud but reportedly pointless noise burst is removed, since full vibration calibration can be run separately from the printer's menu whenever needed. The end of print code is changed so filament is not automatically unloaded after printing, which speeds up back to back prints using the same filament and reduces noise, though a printer setting still lets you force the old unload behavior if you want it. The stop code also moves the nozzle away from the finished print first, then applies the same improved nozzle cleaning used at the start. Installing it means copying the provided start and stop code into your printer's machine G-code settings inside BambuStudio and saving it as a new printer profile, so you can switch back to the default profile at any time. The author includes a clear warning that this is unofficial, tested mainly with PLA and PETG, and used entirely at your own risk.
Replacement start and stop G-code for the Bambu Lab P2S 3D printer that speeds up and quiets the routine and cleans the nozzle more reliably.
Mainly G-code. The stack also includes G-code, BambuStudio.
The README does not state a software license, and includes a disclaimer that the code is provided as is with no warranty and used at your own risk.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.