Page 1 of 1

Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 7:22 am
by DieselDummy
Need some help getting my gcode right for printing on a glass bed. I have the Prusa MK2S and wanted to try the glass on the bed. The problem I'm having is the gcode that was recommended. One from a "mattshub" and another from YouTube (I will update this port with links later today). Followed the instructions as far as adding the script to the custom gcode section in Slic3r, but still can't get the nozzle height correct (way too low and I know I measured the glass thickness correctly), and the gcode always prints the purge strip while the extruder is 100mm in the air. Any insight here would be a huge help.

Re: Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 10:00 am
by dryja123
Did you adjust your Z level on the printer?

Re: Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 10:18 am
by DieselDummy
I thought so. I will have to double check once I get home. My impression was that the Z offset was in the custom gcode that I used. But I may be mistaken. I know there's a love z adjustment on the printer itself but I still have to make it past the mesh leveling procedure before the glass can be installed each print. Meanwhile, I will be reading the reprap wiki on the gcode breakdown, maybe there's a typo in my code

Re: Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 10:29 am
by HoolyHoo
DieselDummy wrote:
Mon Mar 19, 2018 10:18 am
I thought so. I will have to double check once I get home. My impression was that the Z offset was in the custom gcode that I used. But I may be mistaken. I know there's a love z adjustment on the printer itself but I still have to make it past the mesh leveling procedure before the glass can be installed each print. Meanwhile, I will be reading the reprap wiki on the gcode breakdown, maybe there's a typo in my code
When I want to print on glass, I use a code similar to this:

Code: Select all

M83 ; extruder relative mode
G28 W ; home all without mesh bed leveling
G80 ; mesh bed levelling
G1 Z100 F1000; raise nozzle 100mm
G1 Y200 F6000; bring bed to the front
G4 S60; wait 60 seconds for glass to be placed on the print bed
; if you'd like more time here, you can pause the print
; or extend the wait time in the G4 command
G1 Y0 F6000; move bed back
G1 Z#.## F800; lower nozzle back down over glass
; IMPORTANT: replace the hashes above with the thickness of your glass
G92 Z0; set as zero position for z axis
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
Which came from this website, https://mattshub.com/2017/04/11/printing-on-glass/

If your printer Live Z height is already set and you were printing fine on the PEI sheet, then just add this to your start script in your slicer. Don't forget to edit for the thickness of your glass. It prints without a hitch and super smooth :D

Re: Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 11:22 am
by DieselDummy
HoolyHoo, you need to change your avatar to Mighty Mouse. All I can think of when I see a post from you is "Here I come to save the daaaaaaaayyy!"
I tried that script but if it's working for you, that means I did something wrong. I will try it again tonight. Thank you.

Re: Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 12:14 pm
by HoolyHoo
DieselDummy wrote:
Mon Mar 19, 2018 11:22 am
HoolyHoo, you need to change your avatar to Mighty Mouse. All I can think of when I see a post from you is "Here I come to save the daaaaaaaayyy!"
I tried that script but if it's working for you, that means I did something wrong. I will try it again tonight. Thank you.
:lol:
It works well. The only thing I changed was instead of setting a set time, I made it wait for a button press before proceeding.

Re: Glass bed on Prusa MK2S

Posted: Mon Mar 19, 2018 11:16 pm
by DieselDummy
Clearly I did something wrong the first time, still not sure what it was though. It worked this time, HoolyHoo. Thanks again.