Skip to content

Instantly share code, notes, and snippets.

@kfrancis
Created May 11, 2021 16:08
Show Gist options
  • Save kfrancis/f103f5190961b4529c93dfc7ba2290a5 to your computer and use it in GitHub Desktop.
Save kfrancis/f103f5190961b4529c93dfc7ba2290a5 to your computer and use it in GitHub Desktop.
Cura start g-code for Anycubic Predator (v2.0.8.0+ where UBL is activated)
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 ;Home
G1 Z15.0 F1000;short move
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock adjust so I don't have to remove any filament
G92 E0 ;zero the extruded length again
G1 F4000 ;move to bed
G29 A ;activate ubl
G29 L1 ;use (previously saved) mesh 1
;Put printing message on LCD screen
M117 Printing...
;G5; this is in order to resume on Power failure (only works on SD prints)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment