start/end gcodes for e5p with UBL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+2, max_print_height)} F600{endif} ; Move print bed down | |
G1 X350 Y350 F{travel_speed*60} ; present print | |
; {if max_layer_z < max_print_height-10}G1 Z{z_offset+max_print_height-10} F600{endif} ; Move print bed down further down | |
M140 S0 ; turn off heatbed | |
M104 S0 ; turn off temperature | |
M107 ; turn off fan | |
M84 X Y E ; disable motors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G90 ; use absolute coordinates | |
M83 ; extruder relative mode | |
M104 S120 ; set temporary nozzle temp to prevent oozing during homing and auto bed leveling | |
M140 S[first_layer_bed_temperature] ; set final bed temp | |
M190 S[first_layer_bed_temperature] ; wait for bed temp to stabilize | |
G28 ; home all axis | |
; UBL bed leveling | |
;G29 P1 | |
;G29 P3 | |
;G29 F10 | |
;G29 A | |
;G29 L1 | |
;M500 | |
; Adjust mesh rather than rebuild | |
G29 L1 | |
G29 J | |
G1 Z50 F240 | |
G1 X2 Y10 F3000 | |
M104 S[first_layer_temperature] ; set final nozzle temp | |
M109 S[first_layer_temperature] ; wait for nozzle temp to stabilize | |
G1 Z0.28 F240 | |
G92 E0 | |
G1 Y140 E10 F1500 ; prime the nozzle | |
G1 X2.3 F5000 | |
G92 E0 | |
G1 Y10 E10 F1200 ; prime the nozzle | |
G92 E0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment