Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gcode_macro Tram_Z] # Prusa's calibrate Z
- description: Tram Z axis
- gcode:
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% if printer.toolhead.homed_axes != "xyz" %}
- G28
- {% endif %}
- G1 X20 Y0
- G1 Z{max_z-10} F2000 #Update with Z height.
- FORCE_MOVE STEPPER=stepper_z Distance=20 Velocity=10
- G1 Z{max_z-50} F2000 # Move down
- G28 Z # Home again
- [screws_tilt_adjust]
- # SW Nylock Mod: Screw 1 uses the 6mm metallic spacer so its
- # height is considered the baseline. For tilt adjust using the
- # command SCREWS_TILT_CALCULATE or MACRO ADJUST_BED_SCREWS, this has to be your Screw 1:
- #
- # ******************
- # * S7 S8 S9 *
- # * *
- # Bed: * S5 S1 S6 *
- # * *
- # * S2 S3 S4 *
- # ******************
- #
- # soapee01: These coordinates appear to be Y,X. Odd. Nope, the guide had them in backwards.
- #screw1: 128,110
- screw1: 102.3,98.6
- screw1_name: Center
- #screw2: 13,6
- #screw2: -3.2,0.1
- screw2: 0.1,-3.2
- screw2_name: Front Left
- #screw3: 13,115
- #screw3: -2.5,98.2
- screw3: 98.2,-2.5
- screw3_name: Front Center
- #screw4: 13,210
- #screw4: -2.5,203.1
- screw4: 203.1,-2.5
- screw4_name: Front Right
- #screw5: 123,6
- #screw5: 102,0.1
- screw5: 0.1,102
- screw5_name: Center Left
- #screw6: 123,210
- #screw6: 102.8,203.4
- screw6: 203.4,102.8
- screw6_name: Center Right
- #screw7: 228,6
- #screw7:207.1,0.1
- screw7: 0.1,207.1
- screw7_name: Back Left
- #screw8: 228,115
- #screw8: 207.1,99
- screw8: 99,207.1
- screw8_name: Back Center
- #screw9: 228,210
- #screw9: 208.3,203.6
- screw9: 203.6,208.3
- screw9_name: Back Right
- horizontal_move_z: 10.
- speed: 50.
- screw_thread: CCW-M3
- [gcode_macro ADJUST_BED_SCREWS]
- gcode:
- # Heat the bed at 80ºc to proceed with a more accurate process
- M140 S80 ; start heating bed to 80ºc
- G28 ; home
- Tram_Z ; tram z aka calibrate z
- M190 S80 ; wait for bed to reach 80ºc
- G4 P300000 ; Waits 5 min for the bed temp to stabilize
- # HOT TEMPERATURE! BE CAREFUL WHEN TOUCHING THE BED OR THE BED SCREWS
- # HOT TEMPERATURE! BE CAREFUL WHEN TOUCHING THE BED OR THE BED SCREWS
- # HOT TEMPERATURE! BE CAREFUL WHEN TOUCHING THE BED OR THE BED SCREWS
- # HOT TEMPERATURE! BE CAREFUL WHEN TOUCHING THE BED OR THE BED SCREWS
- SCREWS_TILT_CALCULATE SAMPLE_RETRACT_DIST=1
- G1 X180 Y199 Z50 F1000
- M190 S0 ; turn off bed heater
- M117 !! ATTENTION BED IS HOT !!
- UPDATE_DELAYED_GCODE ID=clear_display DURATION=3
- M117 remove pei sheet
- UPDATE_DELAYED_GCODE ID=clear_display DURATION=3
- M117 adjust bed screws
- UPDATE_DELAYED_GCODE ID=clear_display DURATION=3
- # REPEAT THIS MACRO UNTIL PERFECTION
- [menu __main __setup __calib __Ajust_Bed_Screws]
- type: command
- enable: {not printer.idle_timeout.state == "Printing"}
- name: Adjust Bed Screws
- gcode:
- ADJUST_BED_SCREWS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement