36 lines
1.9 KiB
Text
36 lines
1.9 KiB
Text
; host.choose_material(title:"Choose the material that you are loading.")
|
|
|
|
M106 S0 ; turn off the fan
|
|
M104 S[temperature] ; start heating up the extruder
|
|
|
|
; host.show_message(title:"Trim Filament", markdown:"[trim_filament_markdown]", wait_ok:"true")
|
|
|
|
M302 S0 ; Allow extrusion at any temperature
|
|
G91 ; Relative positioning
|
|
; host.show_message(title:"Insert Filament", repeat_gcode:"G1 E.2 F80", expire:"300", markdown:"[insert_filament_markdown]")
|
|
G90 ; Absolute positioning
|
|
; host.show_message(title:"Loading Filament...", count_down:"[load_filament_time]")
|
|
G92 E0 ; reset the extruder position to 0
|
|
G91 ; Relative positioning
|
|
G1 E[load_filament_length_over_six] F[load_filament_speed] ; extrude the filament (pulse was 598)
|
|
G1 E[load_filament_length_over_six] F[load_filament_speed] ; extrude the filament
|
|
G1 E[load_filament_length_over_six] F[load_filament_speed] ; extrude the filament
|
|
G1 E[load_filament_length_over_six] F[load_filament_speed] ; extrude the filament
|
|
G1 E[load_filament_length_over_six] F[load_filament_speed] ; extrude the filament
|
|
G1 E[load_filament_length_over_six] F[load_filament_speed] ; extrude the filament
|
|
G4 S1 ; wait for move to finish
|
|
|
|
M302 S150 ; Set cold extrude temp back to reasonable
|
|
; host.show_message(title:"Waiting for extruder to heat to [temperature].")
|
|
G4 S1 ; wait message to display
|
|
M109 S[temperature] ; heat up the extruder
|
|
|
|
; extrude slowly so that we can prime the extruder
|
|
; host.show_message(title:"Wait For Running Clean", repeat_gcode:"G1 E0.35 F140", expire:"90", markdown:"[running_clean_markdown]")
|
|
|
|
G4 S1 ; wait for move to finish
|
|
G90 ; Absolute positioning
|
|
G92 E0 ; reset the extruder position to 0
|
|
|
|
; turn the extruder temperature off if not printing, else leave it at new load temp.
|
|
; host.done_load_unload()
|