Flags specific to this printer/configuration:
MK3_FAN_PINS
- Disable this for FAN_PIN PB9
and FAN1_PIN PB8
GEARBOX_BEAR
- Is printer equipped with a 3.5:1 gearbox on the extruder?TALLBEAR
- Tall Bear (320mm)?SUPERPINDA
- SuperPinda present?The W
in Průša's G28 W ; home all without mesh bed level
default G-code does not exist in Marlin and G80 ; mesh bed leveling
cancels the current motion mode, so no bed leveling will take place.
Below are some example start G-code scripts from popular slicers to get you started.
M900 K0.0
) value since it can be saved on a per-filament basis.Paste the start G-code block below in the "Custom G-code" section under "Printer Settings".
G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S170 ; preheat hotend to 170
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
G28 ; home all
G29 ; mesh bed leveling
G1 X0 Z0.6 Y-3.0 F1000.0 ; go outside print area for intro line
M104 S[first_layer_temperature] ; set hotend temp
M109 S[first_layer_temperature] ; wait for hotend temp
G92 E0.0
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
G92 E0.0
Paste the start G-code block below in the "Start G-code" section. Add your Linear Advance (M900 K0.0
) value in the start G-code block below:
G90 ; use absolute coordinates
M83 ; extruder relative mode
M900 K0.0 ; place your linear advance value here
M104 S170 ; preheat hotend to 170
M140 S{material_bed_temperature_layer_0} ; set bed temp
M190 S{material_bed_temperature_layer_0} ; wait for bed temp
G28 ; home all
G29 ; mesh bed leveling
G1 X0 Z0.6 Y-3.0 F1000.0 ; go outside print area for intro line
M104 S{material_print_temperature_layer_0} ; set hotend temp
M109 S{material_print_temperature_layer_0} ; wait for hotend temp
G92 E0.0
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
G92 E0.0
Paste the start G-code block below in the filament's "Start G-code" section. Add your Linear Advance (M900 K0.0
) value in the start G-code block below:
G90 ; use absolute coordinates
M83 ; extruder relative mode
M900 K0.0 ; place your linear advance value here
M104 S170 ; preheat hotend to 170
M140 S{temperature_heatbed} ; set bed temp
M190 S{temperature_heatbed} ; wait for bed temp
G28 ; home all
G29 ; mesh bed leveling
G1 X0 Z0.6 Y-3.0 F1000.0 ; go outside print area for intro line
M104 S{temperature_extruder1} ; set hotend temp
M109 S{temperature_extruder1} ; wait for hotend temp
G92 E0.0
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
G92 E0.0
Paste the start G-code block below in the "Starting Script" section. Add your Linear Advance (M900 K0.0
) value in the start G-code block below:
G90 ; use absolute coordinates
M83 ; extruder relative mode
M900 K0.0 ; place your linear advance value here
M104 S170 ; preheat hotend to 170
M140 S[bed0_temperature] ; set bed temp
M190 S[bed0_temperature] ; wait for bed temp
G28 ; home all
G29 ; mesh bed leveling
G1 X0 Z0.6 Y-3.0 F1000.0 ; go outside print area for intro line
M104 S[extruder0_temperature] T0 ; set hotend temp
M109 S[extruder0_temperature] T0 ; wait for hotend temp
G92 E0.0
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
G92 E0.0