79 Commits

Author SHA1 Message Date
cnc
92562db29f 按源验证当前位置命名参数 2026-06-06 08:51:20 +08:00
cnc
de5f28f7ee 按源扩展坐标偏置UVW覆盖 2026-06-06 08:45:25 +08:00
cnc
82f222ba44 按源验证G10坐标UVW偏置 2026-06-06 08:38:23 +08:00
cnc
cdc30dda7e 按源验证G92单位切换UVW偏置 2026-06-06 08:35:11 +08:00
cnc
1d96aa8a55 按源验证单位切换UVW线性轴 2026-06-06 08:31:42 +08:00
cnc
25cb6885bf 按源修正外部单位换算
结论:依据 LinuxCNC emccanon.cc 与 units.h,GET_EXTERNAL_LENGTH_UNITS 返回 user-units-per-mm 而非当前程序单位;新增 G20/G21 后 G92.3 恢复覆盖,native/source-link/test-native 均通过。
2026-06-06 08:26:21 +08:00
cnc
ccd51ff373 按源同步单位切换当前位置
结论:依据 LinuxCNC interp_convert.cc convert_length_units 与 unit_tests/interp/test_interp_basics.cc,G20/G21 切换时事件桥同步重标定当前线性坐标,native/source-link 覆盖通过。
2026-06-06 08:15:59 +08:00
cnc
10bf0a5897 验证 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 通过。
2026-06-06 07:12:42 +08:00
cnc
ced3e5de0e 验证 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 通过。
2026-06-06 07:05:29 +08:00
cnc
7ba3a22441 验证 Fanuc 子程序禁用
提示词:快速推进,非纯 source-map-only,保留源依据、自动测试、本地提交且不自动推送。

结论:基于 LinuxCNC rs274ngc_pre.cc 读取 DISABLE_FANUC_STYLE_SUB 以及 interp_read.cc 对 M98、Fanuc-style M99、bare O-word 的禁用分支,新增 INI/G-code fixture 并接入 native/source-link 错误断言;./test-native.sh 和 ./test-linuxcnc-source-link.sh 通过。
2026-06-06 06:48:17 +08:00
cnc
5aa328b413 验证 G92 禁用持久化
提示词:快速推进,非纯 source-map-only,保留源依据、自动测试、本地提交且不自动推送。

结论:基于 LinuxCNC rs274ngc_pre.cc 的 DISABLE_G92_PERSISTENCE 初始化清理和 interp_convert.cc convert_stop 的 M30 清理逻辑,新增 INI/G-code fixture 并接入 native/source-link 参数持久化断言;./test-native.sh 和 ./test-linuxcnc-source-link.sh 通过。
2026-06-06 06:38:42 +08:00
cnc
ebb29f8cb6 补齐 G5.3 非 G5.2 运动错误覆盖 2026-06-06 06:15:12 +08:00
cnc
3c05202097 补齐刀补下偏置平面错误覆盖
结论:基于 LinuxCNC interp_convert.cc convert_axis_offsets()、convert_straight() 和 convert_set_plane(),native/source-link 现在覆盖刀补打开时 G92、G53、G18 被拒绝的失败分支。
2026-06-05 23:52:34 +08:00
cnc
ba0d973f4f 补齐刀补下模式切换错误覆盖
结论:基于 LinuxCNC interp_convert.cc convert_control_mode()、convert_coordinate_system() 和 convert_home(),native/source-link 现在覆盖刀补打开时 G64、G55、G28 被拒绝的失败分支。
2026-06-05 23:46:15 +08:00
cnc
f69e10bedf 补齐刀补下工具偏置错误覆盖
结论:基于 LinuxCNC interp_convert.cc convert_tool_length_offset(),native/source-link 现在覆盖 cutter radius comp 打开时 G43 工具长度偏置被拒绝的失败分支。
2026-06-05 23:41:09 +08:00
cnc
a8f6a9d907 补齐 probe 刀补错误覆盖
结论:基于 LinuxCNC interp_convert.cc convert_probe(),native/source-link 现在覆盖 cutter radius comp 打开时 G38 probe 被拒绝的失败分支。
2026-06-05 23:36:27 +08:00
cnc
0850954ca8 补齐 probe 转换错误覆盖
结论:基于 LinuxCNC interp_convert.cc convert_probe(),native/source-link 现在覆盖零进给、G95 feed-per-rev 和起点等于终点三类 G38 probe 失败分支。
2026-06-05 23:32:43 +08:00
cnc
a7cd889b3a 提示词:补齐 G64 naivecam tolerance 源链接覆盖 2026-06-05 15:59:51 +08:00
cnc
b773946c45 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed G95 zero-spindle-speed 错误覆盖,源码依据为 src/emc/rs274ngc/interp_convert.cc convert_straight()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:15:05 +08:00
cnc
7a2a80ea71 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed arc inverse-time missing-F 错误覆盖,源码依据为 src/emc/rs274ngc/interp_convert.cc convert_arc()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:11:54 +08:00
cnc
41db47f440 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed G1 inverse-time missing-F 错误覆盖,源码依据为 src/emc/rs274ngc/interp_convert.cc convert_straight()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:08:11 +08:00
cnc
27ac0bfb25 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed G1 zero-feed 错误覆盖,源码依据为 src/emc/rs274ngc/interp_convert.cc convert_straight()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:04:55 +08:00
cnc
cd71eff8a5 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed canned cycle cutter compensation 错误覆盖,源码依据为 src/emc/rs274ngc/interp_cycles.cc convert_cycle()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:01:07 +08:00
cnc
eb1d31bfee 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed canned cycle inverse-time feed 错误覆盖,源码依据为 src/emc/rs274ngc/interp_cycles.cc convert_cycle()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 10:57:38 +08:00
cnc
6f21d22912 参考所有分组,完成尽量多的内容:结论为 native RS274 补齐注释百分号错误覆盖 2026-06-03 22:37:13 +08:00
cnc
e778a37fdb 参考所有分组:补 native numeric O-word source 覆盖,测试通过 2026-06-03 10:17:10 +08:00
cnc
6cc07c2950 参考所有分组:补 native read path source 覆盖,测试通过 2026-06-03 10:10:45 +08:00
cnc
c5a1d655b0 参考所有分组:补 program end source 覆盖,测试通过 2026-06-03 10:04:46 +08:00
cnc
0895c04ab1 参考所有分组:补 G4 dwell source 边界覆盖,测试通过 2026-06-03 09:58:44 +08:00
cnc
c932e10801 参考所有分组:补 modal group source 覆盖,测试通过 2026-06-03 09:41:26 +08:00
cnc
d1e0152eb8 参考所有分组:补 G10 tool source 覆盖,测试通过 2026-06-03 09:36:47 +08:00
cnc
a134dcef7d 参考所有分组:补 G10 source 覆盖,测试通过 2026-06-03 09:32:16 +08:00
cnc
bbd5739e7a 参考所有分组:补 polar 和 NURBS source 覆盖,测试通过 2026-06-03 09:27:04 +08:00
cnc
611e6417b4 参考所有分组:补 NURBS source 覆盖,测试通过 2026-06-03 09:22:26 +08:00
cnc
d0a7a9fcec 参考所有分组:补 G73 G85 G86 G89 source 覆盖,测试通过 2026-06-03 06:30:24 +08:00
cnc
dbf27a4e6b 参考所有分组:补 native 参数持久化和 threading 覆盖,测试通过 2026-06-03 06:21:35 +08:00
cnc
e71b9146e1 参考所有分组:补 G76 和 NURBS native 覆盖,测试通过 2026-06-03 06:09:20 +08:00
cnc
59287b9920 参考所有分组:补只读命名参数 native 覆盖,测试通过 2026-06-03 06:00:29 +08:00
cnc
33e1ee5a06 参考所有分组:补执行错误 native 覆盖,测试通过 2026-06-03 00:55:59 +08:00
cnc
b26620dc32 参考所有分组:补 read_text native 覆盖,测试通过 2026-06-03 00:48:18 +08:00
cnc
74cb5f826c 参考所有分组:补读取和圆弧 native 覆盖,测试通过 2026-06-03 00:35:07 +08:00
cnc
2ba8cd7fb8 参考所有分组:补编号参数 native 覆盖,测试通过 2026-06-03 00:26:07 +08:00
cnc
e3d47e8267 参考所有分组:补 O-word 状态参数 native 覆盖,测试通过 2026-06-03 00:19:16 +08:00
cnc
3df61e8da5 参考所有分组:补齐 O-word native 覆盖,测试通过 2026-06-03 00:12:28 +08:00
cnc
28aa1956b7 继续按 align-linuxcnc 约束:补块读取 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_read.cc read_items()/read_one_item() 坏字符路径,以及 interp_check.cc check_m_codes() M 码数量错误的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-03 00:01:25 +08:00
cnc
4e3df07b8a 继续按 align-linuxcnc 约束:补参数表达式 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_read.cc 参数读写、ATAN/unary/binary 表达式错误路径,以及 interp_execute.cc sqrt/divide/power 执行错误的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:56:34 +08:00
cnc
b7610d1b96 继续按 align-linuxcnc 约束:补极坐标 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_read.cc、interp_internal.cc、interp_find.cc 极坐标路径,以及 interp_convert.cc 扩展平面 arc/NURBS 错误 fixture 的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:51:22 +08:00
cnc
55c75ffe80 继续按 align-linuxcnc 约束:补固定循环 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_cycles.cc 固定循环错误 fixture 的 native 校验,覆盖重复次数、平面轴/R、Q/P、主轴状态和 G87 必需字;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:47:02 +08:00
cnc
ad3720713e 继续按 align-linuxcnc 约束:补 M 码和刀具 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_convert.cc convert_m()、convert_tool_select()、convert_tool_length_offset() 以及 interp_find.cc find_tool_index() 相关错误 fixture 的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:42:05 +08:00
cnc
ba526a6042 继续按 align-linuxcnc 约束:补轴运动 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_internal.cc enhance_block() 轴/运动错误 fixture 的 native 校验,并同步 check_other_codes() native 覆盖文档;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过。
2026-06-02 23:34:56 +08:00