Advertisement
rootiest

Untitled

Jul 27th, 2022
1,057
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.71 KB | None | 0 0
  1. [gcode_macro SCREW_LEVELING]
  2. gcode:
  3.    {% set BED_TEMP = params.BED_TEMP|default(70)|float %}
  4.     M140 S{BED_TEMP} # Set bed temperature
  5.     G28 # Home all
  6.     M190 S{BED_TEMP} # Set bed temperature and wait:
  7.     SCREWS_TILT_CALCULATE # run screw tilt calculate
  8.     #un hide Adjusted and Complete macros
  9.     # if adjusted re run screw tilt calculate
  10.     # {% if Adjusted_level %}
  11.     #     SCREWS_TILT_CALCULATE
  12.     # {% endif %}
  13.     # if Complete re run screw tilt calculate
  14.     # {% if Complete %}
  15.     #     BED_MESH_CALIBRATE PROFILE="default"
  16.     # {% endif %}
  17. [gcode_macro LEVEL_COMPLETE]
  18. gcode:
  19.    BED_MESH_CALIBRATE PROFILE="default"
  20. [gcode_macro LEVEL_ADJUSTED]
  21. gcode:
  22.    SCREWS_TILT_CALCULATE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement