From ebb29f8cb6a624854005e488f74a43edbf2220ee Mon Sep 17 00:00:00 2001 From: cnc Date: Sat, 6 Jun 2026 06:15:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E9=BD=90=20G5.3=20=E9=9D=9E=20G5.2=20?= =?UTF-8?q?=E8=BF=90=E5=8A=A8=E9=94=99=E8=AF=AF=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-linuxcnc-rs274-native.sh | 1 + test-linuxcnc-source-link.sh | 1 + tests/gcode/linuxcnc_g53_non_g52_motion_error.ngc | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 tests/gcode/linuxcnc_g53_non_g52_motion_error.ngc diff --git a/test-linuxcnc-rs274-native.sh b/test-linuxcnc-rs274-native.sh index d5137f3..44a9c93 100755 --- a/test-linuxcnc-rs274-native.sh +++ b/test-linuxcnc-rs274-native.sh @@ -1074,6 +1074,7 @@ nurbs_error_cases=( "linuxcnc_g52_missing_subsequent_weight_error|Must specify positive weight P for every Control Point" "linuxcnc_g52_noninteger_l_error|Non integer value for integer" "linuxcnc_g52_zero_feed_error|Cannot make a NURBS with 0 feedrate" + "linuxcnc_g53_non_g52_motion_error|Between G5.2 and G5.3 codes, only additional G5.2 codes are allowed." "linuxcnc_g53_without_g52_error|Cannot use G5.3 without G5.2 first" "linuxcnc_g53_short_control_points_error|You must specify a number of control points at least equal to the order L = 3" "linuxcnc_g53_after_intervening_motion_error|Cannot use G5.3 without G5.2 first" diff --git a/test-linuxcnc-source-link.sh b/test-linuxcnc-source-link.sh index 6df837f..d07b7aa 100755 --- a/test-linuxcnc-source-link.sh +++ b/test-linuxcnc-source-link.sh @@ -1719,6 +1719,7 @@ nurbs_error_cases=( "linuxcnc_g52_missing_subsequent_weight_error|Must specify positive weight P for every Control Point" "linuxcnc_g52_noninteger_l_error|Non integer value for integer" "linuxcnc_g52_zero_feed_error|Cannot make a NURBS with 0 feedrate" + "linuxcnc_g53_non_g52_motion_error|Between G5.2 and G5.3 codes, only additional G5.2 codes are allowed." "linuxcnc_g53_without_g52_error|Cannot use G5.3 without G5.2 first" "linuxcnc_g53_short_control_points_error|You must specify a number of control points at least equal to the order L = 3" "linuxcnc_g53_after_intervening_motion_error|Cannot use G5.3 without G5.2 first" diff --git a/tests/gcode/linuxcnc_g53_non_g52_motion_error.ngc b/tests/gcode/linuxcnc_g53_non_g52_motion_error.ngc new file mode 100644 index 0000000..cf5498e --- /dev/null +++ b/tests/gcode/linuxcnc_g53_non_g52_motion_error.ngc @@ -0,0 +1,3 @@ +G21 G90 G17 +F100 +G5.3 G1 X1