Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
13ad5a1c5This file is pinned to the selected release. Download the original to open it in your design tool.
; Prepare for printing
; Use in slicer machine start code: M98 P"prepare.g" R[bed_temperature] S[tool_temperature]
M83 ; extruder relative mode
G90 ; absolute moves
if exists(param.R)
M140 S{param.R} ; set bed temperature
if exists(param.S)
M109 S{param.S-50} ; set 50°C before extruder temperature and wait
if exists(param.R)
M190 S{param.R} ; wait for bed temperature
G28 ; home all axes
;G29 S0 ; mesh bed leveling
G29 S1 ; mesh bed compensation (load saved height map)
M376 H5 ; taper bed compensation linearly over height of 5mm
if exists(param.S)
M109 S{param.S} ; wait for extruder temperature
G1 X10 Y-5 Z5 F6000 ; go outside print area
G92 E0
G1 Z0.2 E8 ; purge bubble
G1 X60 E9 F1000 ; intro line
G1 X100 E12.5 F1000 ; intro line
G92 E0