验证 INI 圆弧容差收紧

提示词:快速推进,非纯 source-map-only,保留源依据、自动测试、本地提交且不自动推送。

结论:基于 LinuxCNC rs274ngc_pre.cc 读取 CENTER_ARC_RADIUS_TOLERANCE_MM 以及 interp_convert.cc/interp_arc.cc IJK 圆弧半径误差检查,新增 metric arc fixture 和 tighter INI 覆盖默认通过、INI 收紧失败;./test-native.sh 和 ./test-linuxcnc-source-link.sh 通过。
This commit is contained in:
cnc
2026-06-06 07:05:29 +08:00
parent 7ba3a22441
commit ced3e5de0e
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
G21
F1
G0 X0 Y0 Z0
(Source basis: LinuxCNC src/emc/rs274ngc/rs274ngc_pre.cc applies CENTER_ARC_RADIUS_TOLERANCE_MM from INI before interp_arc.cc checks IJK radius mismatch.)
G2 X2 Y0 I[1 - 0.0011]
M2

View File

@@ -0,0 +1,2 @@
[RS274NGC]
CENTER_ARC_RADIUS_TOLERANCE_MM = 0.001