I found some starting gcode for simplify3d to home and auto level before heating the hot end and bed but it seems to be sinplify3d specific. I need to edit this code to work with astroprint. Can you gus help with this?
Robo 3D R1+ with Zebra PrintinZ build plate
Astroprint 0.9 on RPi 2
G28 ; home all axes
G1 Z5 F5000 ; lift Z by 5mm
M565 Z-0.8 ; set the offset for auto-leveling mechanism
G29 ; run auto-level
; This set of code is so that it autolevels before heating so that the BuildTek surface is not damaged
G1 Z5 F5000 ; lift Z by 5mm so it doesnt rest on the BuildTek while heating.
;M140 S[bed0_temperature] ; Set Bed Temperature
;M190 S[bed0_temperature] ; Wait for Bed Temperature
M104 S[extruder0_temperature] ; set extruder temperature .
M109 S[extruder0_temperature] ; set extruder temperature and wait for temp