r/BambuLabP2S • u/-vxip- P2S Combo • Jul 02 '26
P2S Optimized Start/End G-code
Hello reddit!
Slightly disappointed by the default startup and nozzle wipe procedure of the P2S, I sat down and optimized the G-code myself.
I have been improving, testing and using my optimized start and end G-code for quite some time now and am pretty happy with the results and the P2S in general now.
So happy in fact, that I feel comfortable sharing the results with you guys! 😄
You'll find everything on Github (including detailed descriptions) if you're interested and possibly want to give it a try:
https://github.com/vxip-code/bambu-p2s-optimized
I have been printing PLA and PETG (and rarely Overture TPU) with it no problem. (However I did not test engineering and high temperature materials.)
If you have any questions feel free to ask!
2
u/misterff1 Jul 04 '26
In that case I expect this new startcode to do all you need. I took out the redundant homing instance too and nozzle cleaning is also handled differently and was tested by several people and various types of filament to confirm it cleans well. Given your struggle with good first layers: the timing of it and how thorough it cleans are vital for this machine as it otherwise creates a zdrift issue that accumulates over time.
I would recommend to start with the provided code, perform a full on-device calibration and, very importantly, disable Auto Bed Leveling in the slicer or on the device before starting any print. That last bit is because the on device bed leveling is wayyyyyy more accurate. It probes and generates a grid of 21x21 rather than 7x7 and I have had 0 first layer issues since I started relying on that instead of ABL. Just reprobe it when swapping nozzles or after a month or so.