Last active
December 14, 2021 17:59
-
-
Save nillia/13d47df2fed95230b2032ced2e7ea3f3 to your computer and use it in GitHub Desktop.
Ender 3 v2
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
; Ender 3 Custom End G-code | |
G4 ; Wait | |
M220 S100 ; Reset Speed factor override percentage to default (100%) | |
M221 S100 ; Reset Extrude factor override percentage to default (100%) | |
G91 ; Set coordinates to relative | |
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing | |
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely | |
G90 ; Set coordinates to absolute | |
G1 X0 Y{machine_depth} F1000 ; Move Heat Bed to the front for easy print removal | |
M106 S0 ; Turn off cooling fan | |
M104 S0 ; Turn off extruder | |
M140 S0 ; Turn off bed | |
M107 ; Turn off Fan | |
M84 ; Disable stepper motors | |
; End of custom end GCode |
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
; Ender 3 Custom Start G-code | |
M190 S60 ; preheat bed for abl | |
G28 ; Home all axes | |
G29 ; Auto Bed Calibration | |
;*** Start Preheating *** | |
M190 S{material_bed_temperature_layer_0} ; heat to setting | |
M109 S{material_print_temperature_layer_0} T0 ; heat to setting | |
;*** End Preheating *** | |
G92 E0 ; Reset Extruder | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position | |
M300 P250 ; play chime to indicate print starting | |
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line | |
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little | |
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line | |
G92 E0 ; Reset Extruder | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish |
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
G91 ; Set coordinates to relative | |
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing | |
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely | |
G90 ; Set coordinates to absolute | |
G1 X0 Y{machine_depth} F1000 ; Move Heat Bed to the front for easy print removal | |
M84 ; disable motors | |
;disable all heaters | |
{% snippet 'disable_hotends' %} | |
{% snippet 'disable_bed' %} | |
M106 S0 ; disable fan |
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 ; Move print head up{endif} | |
G1 X5 Y{print_bed_max[1]*0.8} F{travel_speed*60} ; present print | |
{if max_layer_z < max_print_height-10}G1 Z{z_offset+min(max_layer_z+70, max_print_height-10)} F600 ; Move print head further up{endif} | |
{if max_layer_z < max_print_height*0.6}G1 Z{max_print_height*0.6} F600 ; Move print head further up{endif} | |
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing | |
M106 S0 ; Turn off cooling fan | |
M104 S0 ; Turn off extruder | |
M140 S0 ; Turn off bed | |
M107 ; Turn off Fan | |
M84 ; Disable stepper motors | |
; End of custom end GCode |
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
G91 ; use relative positioning | |
G0 Z5; move Z up 5mm prior to homing | |
M117 Heating bed and hot end... ; Message | |
M140 S[first_layer_bed_temperature] ; set bed temp | |
M104 S80 ; set hot end to a relatively low temp to save time after levelling | |
M190 S[first_layer_bed_temperature] ; wait for bed temp | |
M117 Waiting for bed expansion ; Message | |
G4 S60 ; wait 1 minute for the bed to expand | |
G90 ; use absolute positioning | |
M83 ; extruder relative mode | |
M117 Homing... ; Message | |
G28 ; home all | |
M117 Levelling... ; Message | |
G29 ; auto bed level | |
G92 E0 ; reset extruder | |
M117 Heating hot end ; Message | |
M104 S[first_layer_temperature] ; set extruder temp | |
M109 S[first_layer_temperature] ; wait for extruder temp | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position | |
M300 P250 ; play chime to indicate print starting | |
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line | |
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little | |
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line | |
G92 E0 ; Reset Extruder | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment