LshySVK

Rhinkals custom gcode

May 16th, 2026 (edited)
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1.  
  2. [filament_hub]
  3. v2_unwind_speed: 60 # 二代料盒退料速度
  4. v2_feed_speed: 60 # 二代料盒进料速度
  5. v1_unwind_speed: 60 # 一代料盒退料速度
  6. v1_feed_speed: 60 # 一代料盒进料速度
  7. unwind_speed_old_ace:55 # 旧料盒退料时在触发断料开关后的料盒退料速度
  8. unwind_length_after_triggered: 900
  9.  
  10. [tmc2209 extruder]
  11. run_current: 0.9
  12. hold_current:0.4
  13.  
  14. [bed_mesh]
  15. probe_count:7,7
  16. algorithm:bicubic
  17.  
  18. # Homes the printer, heats bed/nozzle, clears mesh, then loads the default mesh profile.
  19. #dont forget WIPE EXIT before printing and set Z offset if not set by this gcode
  20. #no wait for bed, it heats while we home xy
  21. [gcode_macro L_HOME]
  22. gcode:
  23. M117 homing
  24. M104 S205 I1
  25. M140 S60 I1
  26. HOME_XY
  27. M109 S205 I1
  28. M190 S60 I1
  29. WIPE_ENTER
  30. WIPE_NOZZLE
  31. WIPE_STOP
  32. M106 S255
  33. M109 S140
  34. M106 S0
  35. BED_MESH_CLEAR
  36. G28 Z
  37. G1 Z30
  38. WIPE_ENTER
  39. WIPE_STOP
  40. M104 S205 I1
  41. BED_MESH_PROFILE LOAD=default
  42. G1 Z30
  43. M117 homed
  44.  
  45. # Rebuilds and saves the default bed mesh profile.
  46. #no wait for bed, it heats while we home xy
  47. #LEVIQ2_TEMP_OFFSET we do not apply offset here, it would break homing
  48. [gcode_macro L_BMNLQCAL]
  49. gcode:
  50. M117 bed mesh updating
  51. M104 S200 I1
  52. M140 S60 I1
  53. HOME_XY
  54. M109 S200 I1
  55. WIPE_ENTER
  56. WIPE_NOZZLE
  57. WIPE_STOP
  58. M106 S255
  59. M109 S140
  60. M106 S0
  61. BED_MESH_CLEAR
  62. LEVIQ2_AUTO_ZOFFSET
  63. BED_MESH_CALIBRATE
  64. BED_MESH_PROFILE SAVE=default
  65. G1 Z30
  66. WIPE_ENTER
  67. WIPE_STOP
  68. L_COOLDOWN
  69. M117 bed mesh saved
  70. SAVE_CONFIG
  71.  
  72. # Runs input shaper resonance calibration and saves the result.
  73. [gcode_macro L_RESONANCE_CALIBRATE]
  74. gcode:
  75. M117 resonance calibrating
  76. L_HOME
  77. G90
  78. G1 Z30
  79. M400
  80. SHAPER_CALIBRATE
  81. WIPE_ENTER
  82. WIPE_STOP
  83. L_COOLDOWN
  84. M117 resonance saved
  85. SAVE_CONFIG
  86.  
  87. # Turns off hotend, bed, and all configured fans.
  88. [gcode_macro L_COOLDOWN]
  89. gcode:
  90. M117 cooldown
  91. M104 S0
  92. M140 S0
  93. M106 S0
  94. M106 P1 S0
  95. M106 P2 S0
  96. M106 P3 S0
  97.  
  98. # Calibrates bed PID at 80C and hotend PID at 250C.
  99. # SAVE_CONFIG is intentionally last because it restarts the firmware host.
  100. [gcode_macro L_CALIBRATE_PID]
  101. gcode:
  102. M117 pid calibrating
  103. L_HOME
  104. G1 Z30
  105. WIPE_ENTER
  106. WIPE_STOP
  107. M117 pid bed 80C
  108. PID_CALIBRATE HEATER=heater_bed TARGET=80
  109. M117 pid hotend 250C
  110. PID_CALIBRATE HEATER=extruder TARGET=250
  111. M117 pid saved
  112. M104 S0
  113. M140 S0
  114. SAVE_CONFIG
  115.  
  116. # Runs the full fixed wipe sequence.
  117. # Static manual calls only for GoKlipper compatibility.
  118. [gcode_macro L_WIPE]
  119. gcode:
  120. WIPE_ENTER
  121. WIPE_NOZZLE
  122. WIPE_STOP
  123. M400
  124.  
  125. [gcode_macro L_CLEAN_NOZZLE]
  126. gcode:
  127. WIPE_ENTER
  128. WIPE_NOZZLE
  129. WIPE_STOP
  130. WIPE_EXIT
  131. M400
Advertisement
Add Comment
Please, Sign In to add comment