Skip to content

Instantly share code, notes, and snippets.

@JohnScottUK
Last active April 13, 2024 17:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JohnScottUK/de30eb8c22993c4405e6afbd9b5db113 to your computer and use it in GitHub Desktop.
Save JohnScottUK/de30eb8c22993c4405e6afbd9b5db113 to your computer and use it in GitHub Desktop.
Ender 3 S1 Pro Optimal Start/Stop GCode for OrcaSlicer Software.
; Creality Ender-3 S1 Pro Optimal Start GCode for OrcaSlicer Software.
; By John Scott, 2023. https://gist.github.com/JohnScottUK/de30eb8c22993c4405e6afbd9b5db113
;M117 Set Movement...
G90; Use absolute positioning.
;M117 Heating Bed...
M140 S[bed_temperature_initial_layer_single]; Start heating bed.
;M117 Homing Axis...
G28; Home all axis to know where everything is.
; Bed Mesh - Use one of M420 or G29. Uncomment if/as required.
;M420 S1 Z10; Use saved bed mesh, fading out over 10 layers. Quicker and reduced machine wear.
; Alternative - Generate new bed mesh this print.
;M117 Awaiting Bed+Nozzle...
;M104 S150; Start pre-heating nozzle without oozing filament.
;M190 S[bed_temperature_initial_layer_single]; Wait for bed temperature when creating new bed mesh.
;M109 S150; Wait for hotend pre-heat temperature to create new bed mesh with everything warm.
;M117 Generating Bed Mesh...
;G29; Create new bed mesh for this print.
;M117 Ready Nozzle...
G1 Z2.0 F3000; Move Z Axis up to avoid bed.
G1 X2.0 Y10 F5000; Move above purge-line start, so any hotend oozing is out the way.
G1 Z0.28; Drop and wait for temperature.
;M117 Awaiting Bed+Nozzle...
M104 S150; Start pre-heating nozzle without oozing filament.
M190 S[bed_temperature_initial_layer_single]; Wait for bed temperature before printing.
M109 S[nozzle_temperature_initial_layer]; Set and wait for nozzle to reach temperature.
;M117 Purging Nozzle...
G92 E0; Reset extruder.
G1 X2.0 Y140 Z0.28 F1500 E10; Draw the first line.
G1 X2.3 Y140 Z0.28 F5000; Move to side a little.
G1 X2.3 Y10 Z0.28 F1500 E20; Draw the second line.
;M117 Printing...
; Creality Ender-3 S1 Pro Optimal End GCode for OrcaSlicer Software.
; By John Scott, 2023. https://gist.github.com/JohnScottUK/de30eb8c22993c4405e6afbd9b5db113
;M117 Printing Finished...
G91; Relative positioning.
G1 Z0.2 E-2 F2400; Retract extruder a little and raise Z.
G1 X5 Y5 F3000; Wipe out.
G1 Z10; Raise Z more.
;M117 Presenting Print...
G90; Absolute positioning.
G1 X0 Y200; Present print.
;M117 Stopping...
M140 S0; Turn off bed.
M104 S0; Turn off hotend.
M106 S0; Turn off fan.
M84; Disable all steppers.
;M117 Printing Complete.
; Sonic Pad Ender-3 S1 Pro Optimal Start GCode for OrcaSlicer Software.
; By John Scott, 2023. https://gist.github.com/JohnScottUK/8acd76895716b3abda4fde270738daf3
; Set Movement...
G90; Use absolute positioning.
; Heat Bed...
M140 S[bed_temperature_initial_layer_single]; Start heating bed.
; Home Axis...
G28; Home all axis to know where everything is.
; Bed Mesh - Use one of CALIBRATE or PROFILE LOAD. Uncomment if/as required.
;M104 S150; Start pre-heating hotend without oozing filament.
;M190 S[bed_temperature_initial_layer_single]; Wait for bed temperature when creating new bed mesh.
;M109 S150; Wait for hotend pre-heat temperature to create new bed mesh with everything warm.
;BED_MESH_CALIBRATE
;BED_MESH_PROFILE LOAD=default
; Ready Nozzle...
G1 Z2.0 F3000; Move Z Axis up to avoid bed.
G1 X2.0 Y10 F5000; Move above purge-line start, so any hotend oozing is out the way.
G1 Z0.28; Drop and wait for temperature.
; Await Bed+Nozzle...
M104 S150; Start pre-heating hotend without oozing filament.
M190 S[bed_temperature_initial_layer_single]; Wait for bed temperature before printing.
M109 S[nozzle_temperature_initial_layer]; Set and wait for hotend to reach temperature.
; Purge Nozzle...
G92 E0; Reset extruder.
G1 X2.0 Y140 Z0.28 F1500 E10; Draw the first line.
G1 X2.3 Y140 Z0.28 F5000; Move to side a little.
G1 X2.3 Y10 Z0.28 F1500 E20; Draw the second line.
; Print...
; Sonic Pad Ender-3 S1 Pro Optimal End GCode for OrcaSlicer Software.
; By John Scott, 2023. https://gist.github.com/JohnScottUK/8acd76895716b3abda4fde270738daf3
; Print Finished...
G91; Relative positioning.
G1 Z0.2 E-2 F2400; Retract extruder a little and raise Z.
G1 X5 Y5 F3000; Wipe out.
G1 Z10; Raise Z more.
; Present Print...
G90; Absolute positioning.
G1 X0 Y200; Present print.
; Stop...
M140 S0; Turn off bed.
M104 S0; Turn off hotend.
M106 S0; Turn off fan.
M84; Disable all steppers.
; Print Complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment