Last active
December 6, 2021 18:22
-
-
Save GilesBathgate/3abcb1cea6fc87363dfad131aa1389d2 to your computer and use it in GitHub Desktop.
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
G92 E0 ; zero extruder | |
G1 E-3.0 F1500 ; retract | |
G4 ; wait | |
M104 S0 ; turn off temperature | |
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head up | |
M106 S255 ; turn fan on | |
G1 X125 Y0 F3000.0 ; goto middle | |
M190 R0 T40 ; turn off bed and wait for cooldown | |
M107 ; turn off fan | |
G1 X0 Y200 F3000 ; home X axis | |
M84 ; 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
; GILES' STARTUP SETTINGS | |
M862.3 P "[printer_model]" ; printer model check | |
M862.1 P[nozzle_diameter] ; nozzle diameter check | |
M115 U3.10.0 ; tell printer latest fw version | |
G90 ; use absolute coordinates | |
M83 ; extruder relative mode | |
M204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting] ; MK2 firmware only supports the old M204 format | |
; BED LEVELING | |
G28 W ; home all axes | |
G1 Z40 F5000 ; Lift nozzle | |
M190 S40 ; wait for bed ambient temp | |
M140 S0 ; turn off bed | |
G80 ; mesh bed leveling | |
G81 ; check mesh leveling results | |
; G10 SHEET SETUP | |
; G1 Z1.5 ; move up for G10 sheet | |
; G92 Z0 ; set z to zero | |
G1 Z40 F5000 ; Lift nozzle | |
G1 X0 Y210 F5000 ; ready for sheet | |
M18 S240 ; set stepper disable timeout 4m | |
M17 Y ; lock y | |
; PREHEAT | |
M190 S77 ; wait for warm bed temp | |
M104 S[first_layer_temperature] ; set extruder temp | |
M190 S[first_layer_bed_temperature] ; wait for bed temp | |
M109 S[first_layer_temperature] ; wait for extruder temp | |
; INTRO LINE | |
G1 X0 Y0 Z40 F5000 ; home XY axis | |
G1 Y-2.0 Z10 F1000.0 ; go outside print area | |
G1 X50 Z{first_layer_height+z_offset} F1000 ; home z axis | |
G92 E0.0 | |
G1 X100.0 E13.5 F1000.0 ; intro line 0.6mm | |
G1 X150.0 E18.75 F1000.0 ; intro line 0.6mm | |
G4 S1.0 ; pause | |
G1 Z10.0 ; lift | |
G1 E1 F2100 ; prime | |
; END OF STARTUP GCODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment