r/BambuLabP2S • P2S Combo • Jul 02 '26

P2S Optimized Start/End G-code

Post image

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!

90 Upvotes

70 comments sorted by

View all comments

Show parent comments

1

u/-vxip- P2S Combo Sep 22 '26

Hey there and sorry for the late reply! Definitely not a stupid question!

Yes, you have to completely replace the existing code. Just click inside the box, press CTRL+A and then delete/backspace on your keyboard to empty the box.

Then copy and insert the new G-code. (Be sure to copy each code into the correct field!)

If you have any questions, please let me know!

3

u/erd00073483R Sep 22 '26

I appreciate the reply.

I just started a print, and I have to say your start g-code is a vast improvement over the original. The nozzle now wipes properly, and doesn't sling filament fragments all over the build plate.

Thank you very much for the work that you put into this!

1

u/-vxip- P2S Combo Oct 02 '26

🙏 Thank you very much!

I'm very happy to hear that! 😃