betlog

octoprint - Before print job is resumed

Jul 8th, 2019
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. M118 A1 ---OCTOPRINT-RESUME---
  2. {% if pause_position.x is not none %}
  3. M118 A1 BEEP
  4. M300 S2222 P300
  5. M300 S0 P200
  6. M300 S2222 P300
  7. ;
  8. M118 A1 E relative
  9. M83
  10. M118 A1 prime nozzle
  11. G1 E20 F300
  12. M400
  13. G1 E-1 F300
  14. M400
  15. G1 E1 F300
  16. M400
  17. M118 A1 E absolute
  18. M82
  19. {% if pause_position.e is not none %}
  20. M118 A1 reset E
  21. G92 E{{ pause_position.e }}
  22. {% endif %}
  23. ;
  24. M118 A1 XYZ absolute
  25. G90
  26. M118 A1 return to paused position XYZ
  27. G1 X{{ pause_position.x }} Y{{ pause_position.y }} F6000
  28. G1 Z{{ pause_position.z }} F2000
  29. {% if pause_position.f is not none %}
  30. M118 A1 reset feedrate
  31. G1 F{{ pause_position.f }}
  32. {% endif %}
  33. {% endif %}
  34. M118 A1 ---OCTOPRINT-RESUME end---
Advertisement
Add Comment
Please, Sign In to add comment