Last active
November 20, 2023 23:30
-
-
Save drifterz28/ead0d5683584ee684b9fa9fda62be1c4 to your computer and use it in GitHub Desktop.
My ender 3 starting g-code
This file contains hidden or 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 | |
M117 That's All Folks! | |
; End of custom end GCode |
This file contains hidden or 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
; Script based on an original created by tjjfvi (https://github.com/tjjfvi) | |
; An up-to-date version of the tjjfvi's original script can be found | |
; here: https://csi.t6.fyi/ | |
; Note - This script will only work in Cura V4.2 and above! | |
; --- Global Settings | |
; layer_height = {layer_height} | |
; smooth_spiralized_contours = {smooth_spiralized_contours} | |
; magic_mesh_surface_mode = {magic_mesh_surface_mode} | |
; machine_extruder_count = {machine_extruder_count} | |
; --- Single Extruder Settings | |
; speed_z_hop = {speed_z_hop} | |
; retraction_amount = {retraction_amount} | |
; retraction_hop = {retraction_hop} | |
; retraction_hop_enabled = {retraction_hop_enabled} | |
; retraction_enable = {retraction_enable} | |
; retraction_speed = {retraction_speed} | |
; retraction_retract_speed = {retraction_retract_speed} | |
; retraction_prime_speed = {retraction_prime_speed} | |
; speed_travel = {speed_travel} | |
; Ender 3 Custom Start G-code | |
G92 E0 ; Reset Extruder | |
M280 P0 S160 ; BLTouch alarm release | |
G4 P100 ; delay for BLTouch | |
G28 ; Home all axes | |
G29 ;move Z to min endstops | |
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 | |
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