Elegoo 3D Printers Forum
Custom G-code at end of prints? - Printable Version

+- Elegoo 3D Printers Forum (https://www.elegoomars.com/forum)
+-- Forum: Elegoo Mars 3D Printer (https://www.elegoomars.com/forum/forumdisplay.php?fid=1)
+--- Forum: Printer Mods / Add-Ons (https://www.elegoomars.com/forum/forumdisplay.php?fid=4)
+--- Thread: Custom G-code at end of prints? (/showthread.php?tid=152)



Custom G-code at end of prints? - Vogelindustries - 10-01-2019

Can custom G-code be added to the end of prints? On my FDM printer I use the code below to beep 3 times to let me know a prints finished. 
Also thinking about adding some kind of Z shake routine at the end of prints to get some resin drips off. would that be possible?

Code:
;Beep Beep Beep
M300 S500 P250
M300 S0 P500
M300 S500 P250
M300 S0 P500
M300 S500 P250
M300 S0 P500



RE: Custom G-code at end of prints? - Roman Kornfeld - 10-22-2019

In Chitubox App in Windows there is a ELEGOO_MARS.cfg File for the Mars.
There is a Option for Custom gcode. 

gcodeEditVisible:1

Set it form 0 to 1
then add a new elegoo mars Printer in Chitubox Setting
Then you have new tab with start and endscript.