mattercontrol/StaticData/SliceSettings/unload_filament.txt
Lars Brubaker e49397b0b5 Made a Loading... overlay when changing printers
Took out the filament selection in leveling
Made our load and unload scripts work correctly with repetier firmware

issue: MatterHackers/MCCentral#4315
Need Loading overlay when adding or switching to a printer
2018-10-30 13:40:37 -07:00

26 lines
1.4 KiB
Text

; host.choose_material(title:"Confirm the material you are unloading.")
; host.show_message(title:"Waiting for extruder to heat to [temperature], before unloading.")
M106 S0 ; turn off the fan
G4 S1 ; wait message to display
M109 S[temperature] ; heat up the extruder
M302 S1 ; Allow extrusion at any temperature. S0 only works on Marlin S1 works on repetier and marlin
; host.show_message(title:"Unloading filament..." count_down:"[unload_filament_time]")
G92 E0 ; reset the extruder position to 0
G91 ; Relative positioning
G1 E15 F600 ; push some out first
G1 E-[unload_filament_length_over_six] F[load_filament_speed] ; unload the filament
G1 E-[unload_filament_length_over_six] F[load_filament_speed] ; unload the filament
G1 E-[unload_filament_length_over_six] F[load_filament_speed] ; unload the filament
G1 E-[unload_filament_length_over_six] F[load_filament_speed] ; unload the filament
G1 E-[unload_filament_length_over_six] F[load_filament_speed] ; unload the filament
G1 E-[unload_filament_length_over_six] F[load_filament_speed] ; unload the filament
G4 S1 ; wait for move to finish
G90 ; Absolute positioning
G92 E0 ; reset the extruder position to 0
M302 S150 ; Set cold extrude temp back to reasonable
; turn the extruder temperature off if not printing, else leave it at new load temp.
; host.done_load_unload()