Advertisement
black0r1337

bltouch

Dec 18th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1.  
  2. http://douay.de/2018/10/07/klipper-bl-touch-bed-mesh-and-offset-update-commit-c5d94a7/
  3. https://github.com/drbobbob/klipper/blob/anetconfig/config/my-anet-a6.cfg
  4.  
  5. https://github.com/KevinOConnor/klipper/issues/955
  6.  
  7.  
  8.  
  9.  
  10. #[probe]
  11. pin: ^PC4
  12. # Probe detection pin. This parameter must be provided.
  13. x_offset: -26
  14. # The distance (in mm) between the probe and the nozzle along the
  15. # x-axis. The default is 0.
  16. y_offset: -15
  17. # The distance (in mm) between the probe and the nozzle along the
  18. # y-axis. The default is 0.
  19. z_offset: 0.0
  20. # The distance (in mm) between the bed and the nozzle when the probe
  21. # triggers. This parameter must be provided.
  22. speed: 5.0
  23. # Speed (in mm/s) of the Z axis when probing. The default is 5mm/s.
  24. activate_gcode:
  25. G4 P200
  26. SET_SERVO SERVO=bltouch ANGLE=60
  27. G4 P400
  28. deactivate_gcode:
  29. G4 P200
  30. SET_SERVO SERVO=bltouch ANGLE=90
  31. G4 P400
  32.  
  33. # BLTouch probe. One may define this section (instead of a probe
  34. # section) to enable a BLTouch probe. A virtual
  35. # "probe:z_virtual_endstop" pin is also created (see the "probe"
  36. # section above for the details).
  37. #[bltouch]
  38. #sensor_pin:
  39. # Pin connected to the BLTouch sensor pin. This parameter must be
  40. # provided.
  41. #control_pin:
  42. # Pin connected to the BLTouch control pin. This parameter must be
  43. # provided.
  44. #pin_move_time: 0.200
  45. # The amount of time (in seconds) that it takes the BLTouch pin to
  46. # move up or down. The default is 0.200 seconds.
  47. #test_sensor_pin: True
  48. # This enables a software test of the BLTouch sensor pin during the
  49. # first probe attempt. The test can help catch cases where the
  50. # BLTouch is not responding correctly. It may be necessary to
  51. # disable this test for some BLTouch "clones" if they consistently
  52. # report "BLTouch sensor test failed" errors. The default is True.
  53. #x_offset:
  54. #y_offset:
  55. #z_offset:
  56. #speed:
  57. # See the "probe" section for information on these parameters.
  58.  
  59.  
  60. # Mesh Bed Leveling. One may define a [bed_mesh] config section
  61. # to enable move transformations that offset the z axis based
  62. # on a mesh generated from probed points. Note that bed_mesh
  63. # and bed_tilt are incompatible, both cannot be defined. When
  64. # using a probe to home the z-axis, it is recommended to define
  65. # a [homing_override] section in printer.cfg to home toward the
  66. # center of the print area.
  67. #[bed_mesh]
  68. #speed: 50
  69. # The speed (in mm/s) of non-probing moves during the
  70. # calibration. The default is 50.
  71. #horizontal_move_z: 5
  72. # The height (in mm) that the head should be commanded to move to
  73. # just prior to starting a probe operation. The default is 5.
  74. #samples: 1
  75. # The number of times to probe each point. The probed z-values
  76. # will be averaged. The default is to probe 1 time.
  77. #sample_retract_dist: 2.0
  78. # The distance (in mm) to retract between each sample if
  79. # sampling more than once. Default is 2mm.
  80. #min_point:
  81. # An X,Y point defining the minimum coordinate to probe on
  82. # the bed. Note that this refers to the nozzle position,
  83. # and take care that you do not define a point that will move
  84. # the probe off of the bed. This parameter must be provided.
  85. #max_point:
  86. # An X,Y point defining the maximum coordinate to probe on
  87. # the bed. Follow the same precautions as listed in min_point.
  88. # Also note that this does not necessarily define the last point
  89. # probed, only the maximum coordinate. This parameter must be provided.
  90. #probe_count: 3,3
  91. # A comma separated pair of integer values (X,Y) defining the number
  92. # of points to probe along each axis. A single value is also valid,
  93. # in which case that value will be for both axes. Default is 3,3
  94. # which probes a 3x3 grid.
  95. #fade_start: 1.0
  96. # The gcode z position in which to start phasing out z-adjustment
  97. # when fade is enabled. Default is 1.0.
  98. #fade_end: 0.0
  99. # The gcode z position in which phasing out completes. When set
  100. # to a value below fade_start, fade is disabled. It should be
  101. # noted that fade may add unwanted scaling along the z-axis of a
  102. # print. If a user wishes to enable fade, a value of 10.0 is
  103. # recommended. Default is 0.0, which disables fade.
  104. #fade_target:
  105. # The z position in which fade should converge. When this value is set
  106. # to a non-zero value it must be within the range of z-values in the mesh.
  107. # Users that wish to converge to the z homing position should set this to 0.
  108. # Default is the average z value of the mesh.
  109. #split_delta_z: .025
  110. # The amount of Z difference (in mm) along a move that will
  111. # trigger a split. Default is .025.
  112. #move_check_distance: 5.0
  113. # The distance (in mm) along a move to check for split_delta_z.
  114. # This is also the minimum length that a move can be split. Default
  115. # is 5.0.
  116. #mesh_pps: 2,2
  117. # A comma separated pair of integers (X,Y) defining the number of
  118. # points per segment to interpolate in the mesh along each axis. A
  119. # "segment" can be defined as the space between each probed
  120. # point. The user may enter a single value which will be applied
  121. # to both axes. Default is 2,2.
  122. #algorithm: lagrange
  123. # The interpolation algorithm to use. May be either "lagrange"
  124. # or "bicubic". This option will not affect 3x3 grids, which
  125. # are forced to use lagrange sampling. Default is lagrange.
  126. #bicubic_tension: .2
  127. # When using the bicubic algorithm the tension parameter above
  128. # may be applied to change the amount of slope interpolated.
  129. # Larger numbers will increase the amount of slope, which
  130. # results in more curvature in the mesh. Default is .2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement