验证 INI G64 默认容差
提示词:快速推进,非纯 source-map-only,保留源依据、自动测试、本地提交且不自动推送。 结论:基于 LinuxCNC rs274ngc_pre.cc 读取 G64_DEFAULT_TOLERANCE/G64_DEFAULT_NAIVETOLERANCE 以及 interp_convert.cc convert_control_mode 在 G64 省略 P/Q 时使用默认值,新增 INI/G-code fixture 并接入 native/source-link 事件断言;./test-native.sh 和 ./test-linuxcnc-source-link.sh 通过。
This commit is contained in:
3
tests/gcode/linuxcnc_g64_default_tolerances.ini
Normal file
3
tests/gcode/linuxcnc_g64_default_tolerances.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
[RS274NGC]
|
||||
G64_DEFAULT_TOLERANCE = 0.07
|
||||
G64_DEFAULT_NAIVETOLERANCE = 0.04
|
||||
4
tests/gcode/linuxcnc_g64_default_tolerances.ngc
Normal file
4
tests/gcode/linuxcnc_g64_default_tolerances.ngc
Normal file
@@ -0,0 +1,4 @@
|
||||
G21 G90 G17
|
||||
(Source basis: LinuxCNC src/emc/rs274ngc/rs274ngc_pre.cc reads G64_DEFAULT_TOLERANCE and G64_DEFAULT_NAIVETOLERANCE for G64 without P/Q.)
|
||||
G64
|
||||
M30
|
||||
Reference in New Issue
Block a user