Hold printbed at a set temperature when print is compelte
I am printing the same print repeatedly, out of PETG. I've found that these prints best separate from the bed (e.g. without damaging the print or bed) at a bed temperature around 40C. Below or above that the adhesion is too high, leading to damage in some thinner areas when I detach the print (yes, I am using a release agent, but even so, its an issue).
If I miss the end of the print this wastes a fair bit of time, as I have to reheat the bed manually, and hope I don't over-shoot. If there an easy way to add a line of G-code to the end of the print file (either in prusa slicer or manually) to hold the bed at 40C once the print is done, for say upto an hour?
Thanks
Bryan
RE: Hold printbed at a set temperature when print is compelte
Hello @bryan-h16
Maybe you could try such a end-gcode :
G4 ; wait
M221 S100
M104 S0 ; turn off temperature
M107 ; turn off fan
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head up
G1 X0 Y200 F3000 ; home X axis
M84 ; disable motors
M140 S40 ; Heatbed at 40°C
G4 S3600 ; wait 3600 seconds
M140 S0 ; Cool heatbed
I've not tested it but ... it may works
MK3s Stock, PS2.3, Fusion360, Debian, Windows 10.
RE: Hold printbed at a set temperature when print is compelte
That looks promising - I'll give it a try on my next print, and report back.
Thanks!
RE: Hold printbed at a set temperature when print is compelte
That worked perfectly - it held at 40C until I got to the print, and a quick "stop print" command was all I needed to do manually to reset for the next run.
Thanks!
RE: Hold printbed at a set temperature when print is compelte
You're welcome !
MK3s Stock, PS2.3, Fusion360, Debian, Windows 10.