Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;###################################
- M400 ; wait for the move to complete
- @SPEAK New Layer
- G60 S1 ; save pos in slot 1
- M83 ; Extruder Relative
- G91 ; Make Movement Relative
- G1 E-3.5 F4500 ; Retract filament
- G0 Z5 ; Move printhead up a bit
- G90 ; Make Movement Absolute
- M211 S0 ; disable sw endstops
- G0 F9000 X247 Y125 ; push gantry out to wipe (X=244) & image (X=244, Y=125) position
- M400 ; wait for the move to complete
- @Octolapse take-snapshot
- M118 EASYSERVO_ABS 12 60 ; start the wipe in the first direction
- G4 P600 ; pause long enuf for the wipe to complete
- M118 EASYSERVO_ABS 12 110 ; finish the wipe in the opposite direction
- G4 P600 ; pause long enuf for the wipe to complete
- G61 F9000 XY S1 ; restore to xy after wiping
- M211 S1 ; reenable sw endstops
- G91 ; Make Movement Relative
- G0 Z-5 ; Move printhead back down
- G1 E3.5 ; prime the extruder
- G90 ; Make Movement Absolute
- M82 ; Restore Extruder to absolute
- ;###################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement