浏览代码

Update UBL's Delta Probable locations

This is a non-intuitive change.   @oldmcg says in this post https://github.com/MarlinFirmware/Marlin/issues/7572#issuecomment-340641207 that using DELTA_PRINTABLE_RADIUS is better than DELTA_PROBABLE_RADIUS for setting the probe limits.   This is because the automatic probe code checks all locations for being reachable by the probe prior to doing the probe.
Roxy-3D 7 年前
父节点
当前提交
9729528d13
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      Marlin/src/inc/Conditionals_post.h

+ 4
- 4
Marlin/src/inc/Conditionals_post.h 查看文件

958
   // Probing points may be verified at compile time within the radius
958
   // Probing points may be verified at compile time within the radius
959
   // using static_assert(HYPOT2(X2-X1,Y2-Y1)<=sq(DELTA_PRINTABLE_RADIUS),"bad probe point!")
959
   // using static_assert(HYPOT2(X2-X1,Y2-Y1)<=sq(DELTA_PRINTABLE_RADIUS),"bad probe point!")
960
   // so that may be added to SanityCheck.h in the future.
960
   // so that may be added to SanityCheck.h in the future.
961
-  #define MIN_PROBE_X (X_CENTER - (DELTA_PROBEABLE_RADIUS))
962
-  #define MIN_PROBE_Y (Y_CENTER - (DELTA_PROBEABLE_RADIUS))
963
-  #define MAX_PROBE_X (X_CENTER +  DELTA_PROBEABLE_RADIUS)
964
-  #define MAX_PROBE_Y (Y_CENTER +  DELTA_PROBEABLE_RADIUS)
961
+  #define MIN_PROBE_X (X_CENTER - DELTA_PRINTABLE_RADIUS)
962
+  #define MIN_PROBE_Y (Y_CENTER - DELTA_PRINTABLE_RADIUS)
963
+  #define MAX_PROBE_X (X_CENTER + DELTA_PRINTABLE_RADIUS)
964
+  #define MAX_PROBE_Y (Y_CENTER + DELTA_PRINTABLE_RADIUS)
965
 #elif IS_SCARA
965
 #elif IS_SCARA
966
   #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2)
966
   #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2)
967
   #define MIN_PROBE_X (X_CENTER - (SCARA_PRINTABLE_RADIUS))
967
   #define MIN_PROBE_X (X_CENTER - (SCARA_PRINTABLE_RADIUS))

正在加载...
取消
保存