I’m not too experienced in editing gcode, but I’m hoping that someone else here can help me.
I’d like to modify the purge line at the beginning of the print so that it doesn’t end back at the starting point.
When I use PETG, sometimes I get some oozing at the nozzle tip as it’s sitting there at the starting point while the hot end is getting to the target temperature.
When the purge line starts, this blob sticks to the bed right at the start of the purge. However, when the nozzle returns back to that point, it frequently picks the blob right back up and drags it to the beginning of the print.
If the purge line finished a couple of mm before the starting point, the blob would always remain stuck at the beginning where it should be.
To edit the position that the nozzle returns to you need to increas the X value on the second last line. So this line should be something like this to shorten the return by 3 mm.
You can check your edit in the G-code preview by scrolling the right vertical slider to the bottom (layer 1) and scrolling the horizontal slider to the far left. You can then step through the lines with the right arrow key.
Also, the stock nozzle wipe is junk. It it in the right front corner of the purge chute.
You might want to look at some of the creative solutions users have come up with to upgrade that stock wiper.
IMO I would not be surprised if Bambu Lab doesn’t upgrade that thing at some point themselves.