Skip to content

Instantly share code, notes, and snippets.

@timnolte
Last active August 29, 2025 19:32
Show Gist options
  • Save timnolte/0e5e1b3780720baa8c6e64bacf4c5606 to your computer and use it in GitHub Desktop.
Save timnolte/0e5e1b3780720baa8c6e64bacf4c5606 to your computer and use it in GitHub Desktop.
FlashForge Adventurer 5M 0.4mm Nozzle ABL Start gcode
M190 S[bed_temperature_initial_layer_single]
M104 S[nozzle_temperature_initial_layer]
G90
M83
G1 X0 Z0.15 F1200 ;start cleaning nozzle before leveling
M106 S255
G1 X50
G1 X-100
G1 X0
G1 Z5 F6000 ;end cleaning
M140 S[bed_temperature_initial_layer_single]
M109 S120
M106 S0
BED_MESH_CLEAR
BED_MESH_CALIBRATE mesh_min={adaptive_bed_mesh_min[0]},{adaptive_bed_mesh_min[1]} mesh_max={adaptive_bed_mesh_max[0]},{adaptive_bed_mesh_max[1]} ALGORITHM=[bed_mesh_algo] PROBE_COUNT={bed_mesh_probe_count[0]},{bed_mesh_probe_count[1]} ADAPTIVE=0 ADAPTIVE_MARGIN=0
START_PRINT EXTRUDER_TEMP=[nozzle_temperature_initial_layer] BED_TEMP=[bed_temperature_initial_layer_single]
G1 X110 ;return X axis to home
G1 Y110 ;return the Y axis to home
M190 S[bed_temperature_initial_layer_single]
M109 S[nozzle_temperature_initial_layer]
;start clean nozzle before print
G1 Z5 F6000
G1 X100 Y110 Z0.25 F1200
G1 X90 E12 F1200
G1 X-110 E12 F2400
G1 Y0 E4 F2400
G1 X-109.6 F2400
G1 Y110 E5 F2400
G92 E0 ;start printing
@oronfman
Copy link

On line 11 there is a missing bracket at the end.

@timnolte
Copy link
Author

On line 11 there is a missing bracket at the end.

@oronfman ah, thanks for this. Looks like it's correct on my 0.25mm nozzle gcode. Will get this fixed, and double check my OrcaSlicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment