执行 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 通过。
This commit is contained in:
cnc
2026-06-05 11:01:07 +08:00
parent eb1d31bfee
commit cd71eff8a5
3 changed files with 15 additions and 2 deletions

View File

@@ -595,6 +595,7 @@ CNC_SIM_RS274_VAR="$var_file" "$build_dir/linuxcnc_rs274_dump" tests/gcode/linux
# and spindle state before expanding cycles to Canon motion.
canned_cycle_error_cases=(
"linuxcnc_canned_cycle_inverse_time_error|Cannot use inverse time feed with canned cycles"
"linuxcnc_canned_cycle_cutter_comp_error|Cannot use canned cycles with cutter compensation on"
"linuxcnc_canned_cycle_l0_error|Cannot do zero repeats of cycle"
"linuxcnc_canned_cycle_missing_r_error|R clearance plane unspecified in cycle"
"linuxcnc_canned_cycle_missing_z_error|Z value unspecified in xy plane canned cycle"