Auto Bed Level G-Code Quick Print vs. Expert Mode

Quick question.

It is my understanding that the Auto Bed Level G-Code is native to Quick Print. I am also with the understanding that if you switch to Expert mode, you need to download the profiles from this link https://www.lulzbot.com/support/mini-cura-profiles

The profiles above include the G-Code for bed leveling prior to a print in Expert Mode correct?

Is it a correct assumption also that if I switch back to Quick Print, the auto bed leveling G-Code is still there?

Basically, if I switch in Cura to Expert mode and mess around, I can go back to Quick Print mode and still have the auto bed leveling functionality?

Thanks for the help!

That’s right!

Download any of the profiles and open in a text editor. You should see the following nozzle cleaning/bed probing sequence:

G21                          ; metric values
	G90                          ; absolute positioning
	M82                          ; set extruder to absolute mode
	M107                         ; start with the fan off
	G92 E0                       ; set extruder position to 0
	M140 S{print_bed_temperature}; get bed heating up
	G28                          ; home all
	M109 S140                    ; set to cleaning temp and wait
	G1 Z150 E-30 F75             ; suck up XXmm of filament
	M109 S160                    ; heat up rest of way
	G1 X45 Y174 F11520           ; move behind scraper
	G1 Z0  F1200                 ; CRITICAL: set Z to height of top of scraper
	G1 X45 Y174 Z-.5 F4000       ; wiping ; plunge into wipe pad
	G1 X55 Y172 Z-.5 F4000       ; wiping
	G1 X45 Y174 Z0 F4000         ; wiping
	G1 X55 Y172 F4000            ; wiping
	G1 X45 Y174 F4000            ; wiping
	G1 X55 Y172 F4000            ; wiping
	G1 X45 Y174 F4000            ; wiping
	G1 X55 Y172 F4000            ; wiping
	G1 X60 Y174 F4000            ; wiping
	G1 X80 Y172 F4000            ; wiping
	G1 X60 Y174 F4000            ; wiping
	G1 X80 Y172 F4000            ; wiping
	G1 X60 Y174 F4000            ; wiping
	G1 X90 Y172 F4000            ; wiping
	G1 X80 Y174 F4000            ; wiping
	G1 X100 Y172 F4000           ; wiping
	G1 X80 Y174 F4000            ; wiping
	G1 X100 Y172 F4000           ; wiping
	G1 X80 Y174 F4000            ; wiping
	G1 X100 Y172 F4000           ; wiping
	G1 X110 Y174 F4000           ; wiping
	G1 X100 Y172 F4000           ; wiping
	G1 X110 Y174 F4000           ; wiping
	G1 X100 Y172 F4000           ; wiping
	G1 X110 Y174 F4000           ; wiping
	G1 X115 Y172 Z-0.5 F1000     ; wipe slower and bury noz in cleanish area
	G1 Z10                       ; raise z
	G28 X0 Y0                    ; home x and y
	M109 S160                    ; set to probing temp
	M204 S300                    ; Set probing acceleration
	G29                          ; Probe
	M204 S2000                   ; Restore standard acceleration
	G1 X5 Y15 Z10 F5000          ; get out the way
	G4 S1                        ; pause
	M400                         ; clear buffer
	M109 S{print_temperature}    ; set extruder temp and wait
	G4 S15                       ; wait for bed to temp up
	G1 Z2 E0 F75                 ; extrude filament back into nozzle
	M140 S{print_bed_temperature}; get bed temping up during first layer

Thanks for the confirmation.

Sorry to thread-hijack, but could I paste that G-Code into the ‘start’ block in other Cura slicers to get the nozzle cleaning and bed leveling abilities? I’m thinking specifically of the Cura deployment in OctoPrint. It’d be nice to be able to just upload STL files from anywhere and get the leveling/cleaning features.

First… This thread is over a year old, so some of the info above refers to older versions of Cura. Note that more recent versions automatically copy the quickprint settings to expert mode when choosing expert mode. Also note that the start gcode shown above has been updated a bit in newer versions of the Cura profiles.

The Cura Plugin for Octoprint will import a complete Cura profile, including all settings and start/end scripts (note: It has to be the .ini format; the new .json format in the development Cura is not supported).

Open Cura on your computer, choose a profile, go to Expert mode, make any changes you want, and save the profile (i.e., File, Save Profile) as an ini file. Or, if you don’t want to make any changes, you can just download the appropriate ini file directly from the Lulzbot web site. Next, open Octoprint and go to Settings, CuraEngine, “Import Profile…”, “Browse”. Choose the file and hit “Confirm” to upload it into Octoprint. Repeat the process for all the profiles you want to use.

Alternately, if you already have Cura profiles in octoprint… In theory, you can paste the preheat/wipe/level sequence into an existing profile stored at ./.octoprint/slicingProfiles/cura, but beware Octoprint stores those profiles in YAML format – which requires an extra blank line to terminate each line of the script. So after pasting the block of gcode into one of those files, you’d have to edit the file and add an extra blank line after each.