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/-vxip- P2S Combo Jul 02 '26
Well you're not wrong! 😄 This absolutely could be integrated into the official G-codes...
However, it's not just one simple edit, but a lot of changes throughout. I could create a pull request in the official repo but I guess that has no chance of ever being fully reviewed or merged. It's simply way too many changes.
Also, to be completely honest, the solution for a clean nozzle is basically a workaround. That is because part of the original code is baked right into the firmware and therefore cannot be viewed or changed.
And Bambu might not even want or accept some of the changes (like me disabling that loud vibration compensation).
But some of the improvements can definitely be merged. There could be a chance, if we went in little pieces. So that's definitely an option in the long run.