Expand LinuxCNC interpreter regression coverage
This commit is contained in:
3
wasm-port/vendor/linuxcnc/tests/interp/bad/a-in-canned-cycle.ngc
vendored
Normal file
3
wasm-port/vendor/linuxcnc/tests/interp/bad/a-in-canned-cycle.ngc
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
;Cannot put an a in canned cycle
|
||||
g81 x0 y0 z-1 r0 f12
|
||||
a90
|
||||
2
wasm-port/vendor/linuxcnc/tests/interp/bad/a-in-canned-cycle2.ngc
vendored
Normal file
2
wasm-port/vendor/linuxcnc/tests/interp/bad/a-in-canned-cycle2.ngc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
;Cannot put an a in canned cycle
|
||||
g81 x0 y0 z-1 r0 a90 f12
|
||||
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.big.imperial.center-format.ngc
vendored
Normal file
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.big.imperial.center-format.ngc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;Radius to end of arc differs from radius to start: start=(X0.0000,Y0.0000) center=(X300.1428,Y0.0000) end=(X600.0000,Y0.0000) r1=300.1428 r2=299.8572 abs_err=0.2857 rel_err=0.0952%
|
||||
|
||||
g20
|
||||
f1
|
||||
g0x0y0z0
|
||||
g2 x600 i[300 + [100 * [0.00101 * sqrt[2]]]]
|
||||
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.big.metric.center-format.ngc
vendored
Normal file
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.big.metric.center-format.ngc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;Radius to end of arc differs from radius to start: start=(X0.0000,Y0.0000) center=(X3001.4284,Y0.0000) end=(X6000.0000,Y0.0000) r1=3001.4284 r2=2998.5716 abs_err=2.857 rel_err=0.0952%
|
||||
|
||||
g21
|
||||
f1
|
||||
g0x0y0z0
|
||||
g2 x6000 i[3000 + [100 * [0.0101 * sqrt[2]]]]
|
||||
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.medium.imperial.center-format.ngc
vendored
Normal file
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.medium.imperial.center-format.ngc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;Radius to end of arc differs from radius to start: start=(X0.0000,Y0.0000) center=(X99.8500,Y0.0000) end=(X200.0000,Y0.0000) r1=99.8500 r2=100.1500 abs_err=0.3 rel_err=0.2996%
|
||||
|
||||
g20
|
||||
f1
|
||||
g0x0y0z0
|
||||
g2 x200 i[0.9985 * 100]
|
||||
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.medium.metric.center-format.ngc
vendored
Normal file
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.medium.metric.center-format.ngc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;Radius to end of arc differs from radius to start: start=(X0.0000,Y0.0000) center=(X998.5000,Y0.0000) end=(X2000.0000,Y0.0000) r1=998.5000 r2=1001.5000 abs_err=3 rel_err=0.2996%
|
||||
|
||||
g21
|
||||
f1
|
||||
g0x0y0z0
|
||||
g2 x2000 i[0.9985 * 1000]
|
||||
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.small.imperial.center-format.ngc
vendored
Normal file
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.small.imperial.center-format.ngc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;Radius to end of arc differs from radius to start: start=(X0.0000,Y0.0000) center=(X2.4986,Y0.0000) end=(X5.0000,Y0.0000) r1=2.4986 r2=2.5014 abs_err=0.002857 rel_err=0.1142%
|
||||
|
||||
g20
|
||||
f1
|
||||
g0x0y0z0
|
||||
g2 x5.000 y0 i[2.500 - [0.00101 * sqrt[2]]]
|
||||
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.small.metric.center-format.ngc
vendored
Normal file
6
wasm-port/vendor/linuxcnc/tests/interp/bad/bad-arc.small.metric.center-format.ngc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;Radius to end of arc differs from radius to start: start=(X0.0000,Y0.0000) center=(X24.9857,Y0.0000) end=(X50.0000,Y0.0000) r1=24.9857 r2=25.0143 abs_err=0.02857 rel_err=0.1142%
|
||||
|
||||
g21
|
||||
f1
|
||||
g0x0y0z0
|
||||
g2 x50.00 y0 i[25.00 - [0.0101 * sqrt[2]]]
|
||||
7
wasm-port/vendor/linuxcnc/tests/interp/bad/ccomp-arcexit.ngc
vendored
Normal file
7
wasm-port/vendor/linuxcnc/tests/interp/bad/ccomp-arcexit.ngc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
;The move just after exiting cutter compensation mode must be straight, not an arc
|
||||
g0x0y0z0
|
||||
g41.1d.25
|
||||
g1x1f1
|
||||
g1x2
|
||||
g40
|
||||
g2i1
|
||||
9
wasm-port/vendor/linuxcnc/tests/interp/bad/ccomp-gouging.ngc
vendored
Normal file
9
wasm-port/vendor/linuxcnc/tests/interp/bad/ccomp-gouging.ngc
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
;Straight feed in concave corner cannot be reached by the tool without gouging
|
||||
g0x0y0z0
|
||||
g41.1d.25
|
||||
g1x1f1
|
||||
g1x2
|
||||
g1y.1
|
||||
g1x1
|
||||
g40
|
||||
g1x2
|
||||
Reference in New Issue
Block a user