执行 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 通过。
This commit is contained in:
cnc
2026-06-05 11:08:11 +08:00
parent 27ac0bfb25
commit 41db47f440
3 changed files with 5 additions and 0 deletions

View File

@@ -500,6 +500,7 @@ done
# geometry before issuing straight or synchronized threading motion. # geometry before issuing straight or synchronized threading motion.
threading_convert_error_cases=( threading_convert_error_cases=(
"linuxcnc_g1_zero_feed_error|Cannot do g1 with zero feed rate" "linuxcnc_g1_zero_feed_error|Cannot do g1 with zero feed rate"
"linuxcnc_g1_inverse_time_missing_f_error|F word missing with inverse time g1 move"
"linuxcnc_g33_stopped_spindle_error|Spindle not turning in G33" "linuxcnc_g33_stopped_spindle_error|Spindle not turning in G33"
"linuxcnc_g33_1_stopped_spindle_error|Spindle not turning in G33.1" "linuxcnc_g33_1_stopped_spindle_error|Spindle not turning in G33.1"
"linuxcnc_g33_spindle_dollar_out_of_range_error|Invalid spindle (\$) number in G33 move" "linuxcnc_g33_spindle_dollar_out_of_range_error|Invalid spindle (\$) number in G33 move"

View File

@@ -1084,6 +1084,7 @@ done
# geometry before issuing straight or synchronized threading motion. # geometry before issuing straight or synchronized threading motion.
threading_convert_error_cases=( threading_convert_error_cases=(
"linuxcnc_g1_zero_feed_error|Cannot do g1 with zero feed rate" "linuxcnc_g1_zero_feed_error|Cannot do g1 with zero feed rate"
"linuxcnc_g1_inverse_time_missing_f_error|F word missing with inverse time g1 move"
"linuxcnc_g33_stopped_spindle_error|Spindle not turning in G33" "linuxcnc_g33_stopped_spindle_error|Spindle not turning in G33"
"linuxcnc_g33_1_stopped_spindle_error|Spindle not turning in G33.1" "linuxcnc_g33_1_stopped_spindle_error|Spindle not turning in G33.1"
"linuxcnc_g33_spindle_dollar_out_of_range_error|Invalid spindle (\$) number in G33 move" "linuxcnc_g33_spindle_dollar_out_of_range_error|Invalid spindle (\$) number in G33 move"

View File

@@ -0,0 +1,3 @@
G21 G90
G93
G1 X1