Edit starting G-code for a glass plate - Nozzle cleaning

Hello everyone !

I’d like to know if anyone knows how to properly edit starting g-code (I’m looking for the nozzle cleaning routine, done at the back on the plate, scraping it).

My bed is too warped for my liking, and I had a spare bed assembly. I scrapped the magnetic sheet and silicone glued a glass plate on it. But the glass plate doesn’t have an extra space for this nozzle cleaning routine and it would damage it (i think) to change the place it happens.

Is it possible to remove this routine and retain the full functionnality of the bed levelling sequence ?

If yes, what should I remove ?

Thanks for your answers,

Happy printing.

1 Like

It should be possible. But I do not know how your glass plate handles the impact of the normal/necessary probing with the nozzle.

The code block responsible for the hard wipe:

;===== wipe nozzle ===============================
M1002 gcode_claim_action : 14

G0 X135 Y253 F20000 ; move to exposed steel surface edge

M106 S0 ; turn off fan , too noisy
;===== wipe nozzle end ================================

No code block = no hard wipe.

Side note: Features relying on the camera or lidar very likely may not work with glass…

Thank you for your reply. I actually got to this block but thought that maybe removing it would cause issues…
I’ll try to play around with this soon. Thank you.
Side note : I don’t want to get rid of the wiping action done at the nozzle wiper near the chute. Would removing this block also remove this ?

Thanks.

The remaining lines of the code block right above should still be sufficient for that, they read:


G1 X70 F9000
G1 X76 F15000
G1 X65 F15000
G1 X76 F15000
G1 X65 F15000; shake to put down garbage
G1 X80 F6000
G1 X95 F15000
G1 X80 F15000
G1 X165 F15000; wipe and shake
M400
M106 P1 S0
;===== prepare print temperature and material end =====

→ Which is a normal wipe on that small silicone wiper.

But of course, without a hard wipe it now is your responsibility to have a somewhat decently clean nozzle.
What is lost, is the reduction to 140°C to probe the bed. But you’re probing a glass bed and the plastic will be softer at elevated temperatures.

Thank you for your replies. I’ll do some small scale tests on a normal heatbed and swtich when I’ll have satisfactory results.