Ender 3 configuration

Intro

Here's some (maybe) useful information related to the configuration of the Ender-3 Pro for both Octoprint and Cura

References

Just some random references to YouTube videos.

Cura

Printer "Machine Settings"

Start G-Code

;*** Start Dual Nozzle/Bed Preheating ***
M140 S{material_bed_temperature_layer_0} ; start preheating the bed
M104 S{material_print_temperature_layer_0} T0 ; start preheating hotend

G28 ; home
G90 ; absolute positioning mode
G01 X40 Y0 Z10 F1000  ; move filament drips off probe position while heating

M190 S{material_bed_temperature_layer_0} ; heat to Cura Bed setting
;*** End Preheating ***

;-------------------------------------------------

; activate UBL and level bed when up to temperature
G29 J  ; 3-point level
G29 A1

M109 S{material_print_temperature_layer_0} T0 ; heat to Cura Hotend

;*** Single Print Start Tone
M300 S1000 P500 ; chirp to indicate starting to print
;*** End Single Start Tone
;--------------------------------------------

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

M117 Starting Print

M900 K0.75   ; ######### linear advance ############

End G-Code

G91 ;Relative positioning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positionning

; ---- from https://www.chepclub.com/startend-gcode.html
;*** Message and End Tones
M117 Print Completed
M300 S440 P200 ; Make Print Completed Tones
M300 S660 P250
M300 S880 P300
;*** End Message and End Tones
; ----

G1 X0 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed

M84 X Y E ;Disable all steppers but Z

Octoprint

GCODE Scripts

Before print job starts

G90
; reset feedrate percentage to baseline
M220 S100
M150 P255 R60 U100 B20

After print job completes

; green LED
M150 P255 R0 U255 B0

G91
; retract
G1 E-5 F300
G01 Z15
G90
G1 X0 Y200 F1500

;disable all heaters
{% snippet 'disable_hotends' %}
{% snippet 'disable_bed' %}
;disable fan
M106 S0
; disable motors
M84

After print job is cancelled

; Red LED color
M150 P255 R255 U0 B0
G91
; retract
G1 E-5 F300
G0 Z15
G90
G1 X0 Y200 F1500
;disable all heaters
{% snippet 'disable_hotends' %}
{% snippet 'disable_bed' %}
;disable fan
M106 S0
; disable motors
M84

After print job is paused

; yellow
M150 R128 U128 B0

Before print job is resumed

; white
M150 P255 R255 U255 B255

Installed plug-ins

BLTouch Plugin

Bed Visualizer

GCODE Commands for Mesh Update Process
M155 S30
G29 T
M155 S3

Cancel Objects

Regular Expressions
  • ; process (.*)
  • ;MESH:(.*)
  • ; printing object (.*)

Custom Control Editor

Dashboard

DisplayLayerProgress

Floating Navbar

GcodeEditor

InlineConfirm

M73 Progress Plugin

Marlin GCode Documentation

Navbar Temperature Plugin

Preheat Button

PrettyGCode

SimpleEmergencyStop

TabOrder

Z Probe Offset