Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Starting
- ;G21 ;metric values
- G90 ;absolute positioning
- M82 ;set extruder to absolute mode
- G28 X0 Y0 ;move X/Y to min endstops
- G28 Z0 ;move Z to min endstops
- G1 Z10.0 F{travel_speed} ; move the platform down 10mm
- ; Ending
- M104 S0 ; extruder heater off
- M140 S0 ; heated bed heater off (if you have it)
- G91 ; relative positioning
- G1 E-2 F300 ; retract the filament a bit before lifting the nozzle, to release some of the pressure
- G1 Z5 ; move Z up a bit and retract filament even more
- G28 X0 Y0 ; move X/Y to min endstops, so the head is out of the way
- M84 ; steppers off
- G90 ; absolute positioning
- ;{profile_string}
- M84 ; disable motors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement