2018-01-18 15:28:09 -08:00
|
|
|
; host.choose_material(title:"Choose the material that you are loading.")
|
|
|
|
|
|
2018-01-19 16:19:16 -08:00
|
|
|
M106 S0 ; turn off the fan
|
2018-01-18 15:28:09 -08:00
|
|
|
M104 S[temperature] ; start heating up the extruder
|
|
|
|
|
|
2018-07-17 14:32:56 -07:00
|
|
|
; host.show_message(title:"Trim Filament", markdown:"[trim_filament_markdown]", wait_ok:"true")
|
2018-01-18 15:28:09 -08:00
|
|
|
|
|
|
|
|
M302 S0 ; Allow extrusion at any temperature
|
|
|
|
|
G91 ; Relative positioning
|
2018-08-29 17:07:27 -07:00
|
|
|
; host.show_message(title:"Insert Filament", repeat_gcode:"G1 E.2 F80", expire:"300", markdown:"[insert_filament_markdown]")
|
2018-01-18 15:28:09 -08:00
|
|
|
G90 ; Absolute positioning
|
2018-07-17 14:32:56 -07:00
|
|
|
; host.show_message(title:"Loading Filament...", count_down:"[load_filament_time]")
|
2018-01-18 15:28:09 -08:00
|
|
|
G92 E0 ; reset the extruder position to 0
|
|
|
|
|
G91 ; Relative positioning
|
2018-01-18 16:33:48 -08:00
|
|
|
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
|
2018-01-18 15:28:09 -08:00
|
|
|
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
|
2018-08-29 17:07:27 -07:00
|
|
|
; host.show_message(title:"Wait For Running Clean", repeat_gcode:"G1 E0.35 F140", expire:"90", markdown:"[running_clean_markdown]")
|
2018-01-18 15:28:09 -08:00
|
|
|
|
|
|
|
|
G4 S1 ; wait for move to finish
|
|
|
|
|
G90 ; Absolute positioning
|
|
|
|
|
G92 E0 ; reset the extruder position to 0
|
|
|
|
|
|
2018-02-07 13:07:32 -08:00
|
|
|
; turn the extruder temperature off if not printing, else leave it at new load temp.
|
|
|
|
|
; host.done_load_unload()
|