imsmooth wrote:What are some good general post-script commands to add to the end of a build? Things like cool extruder and stuff like that...
Thanks
You're asking end codes but I'll post both my (just copy's from others), Start ansd End code. Perhaps you can use it.
Start code:
M201 X1500 Y1500
M204 S1500 T2500 ; Acceleration: S=acceleration, T=retract acceleration
M205 X2 ; X=maximum xY jerk (mm/s)
M84 S0 ; don't let go of motors
M108 S155 ; make sure extruder and electronics fans are running
M140 S60 ; bed temp
M104 S200 ; use M104 S{print_temperature} in cura
; now we've started heating, but let's move off the platform while we wait (and drool)
G28 X0 Y0; home X and Y
G1 F10800 ; set high speed
G1 Y23 ; move into the platform along Y
G1 X240 ; move off the platform end along X
G28 Z0 ; home Z now - blobs won't hit the platform
G1 F400
G1 Z10 ; lift Z a little
M190 S60 ; heat bed
M109 S200 ; heat nozzle
G28 Z0 ; home Z
G92 E0 ; reset extruder position to 0
G1 F300 ; set suitable speed
G1 E25 ; extrude 25mm
G92 E0 ; reset extruder position to 0 - needed for cura/SF
G1 F10800 ; set wipe speed
G1 X0 ; wipe nozzle and move to X0
M220 S50
End code
M201 X1500 Y1500
M204 S1500 T2500 ; Acceleration: S=acceleration, T=retract acceleration
M205 X2 ; X=maximum xY jerk (mm/s)
M84 S0 ; don't let go of motors
M108 S155 ; make sure extruder and electronics fans are running
M140 S60 ; bed temp
M104 S200 ; use M104 S{print_temperature} in cura
; now we've started heating, but let's move off the platform while we wait (and drool)
G28 X0 Y0; home X and Y
G1 F10800 ; set high speed
G1 Y23 ; move into the platform along Y
G1 X240 ; move off the platform end along X
G28 Z0 ; home Z now - blobs won't hit the platform
G1 F400
G1 Z10 ; lift Z a little
M190 S60 ; heat bed
M109 S200 ; heat nozzle
G28 Z0 ; home Z
G92 E0 ; reset extruder position to 0
G1 F300 ; set suitable speed
G1 E25 ; extrude 25mm
G92 E0 ; reset extruder position to 0 - needed for cura/SF
G1 F10800 ; set wipe speed
G1 X0 ; wipe nozzle and move to X0
M220 S50
I use this codes both in Repetier and Cura
Kind regards,
Marco