IBNobody

Untitled

Dec 13th, 2023
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. {if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+1, max_print_height)} F720 ; Move print head up{endif}
  2.  
  3. G1 X241 Y170 F3600 ; park
  4. {if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+23, max_print_height)} F300 ; Move print head up{endif}
  5. G4 ; wait
  6.  
  7. M702 T0 ; Eject filament
  8.  
  9. M104 S0 ; turn off temperature
  10. M140 S0 ; turn off heatbed
  11. M107 ; turn off fan
  12.  
  13. ; Moved up to beginning
  14. ; G1 X241 Y170 F3600 ; park
  15. ; {if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+23, max_print_height)} F300 ; Move print head up{endif}
  16. ; G4 ; wait
  17.  
  18. M900 K0 ; reset LA
  19. M142 S36 ; reset heatbreak target temp
  20. M84 X Y E ; disable motors
  21. ; max_layer_z = [max_layer_z]
Advertisement
Add Comment
Please, Sign In to add comment