Import LinuxCNC source tree
This commit is contained in:
45
tests/interp/g10/g10-l2-while-active/expected
Normal file
45
tests/interp/g10/g10-l2-while-active/expected
Normal file
@@ -0,0 +1,45 @@
|
||||
N..... USE_LENGTH_UNITS(CANON_UNITS_MM)
|
||||
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_G92_OFFSET(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(0.0000)
|
||||
N..... SET_FEED_REFERENCE(CANON_XYZ)
|
||||
N..... ON_RESET()
|
||||
N..... COMMENT("interpreter: continuing to use same coordinate system")
|
||||
N..... USE_LENGTH_UNITS(CANON_UNITS_INCHES)
|
||||
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(0.0000)
|
||||
N..... SET_FEED_RATE(60.0000)
|
||||
N..... STRAIGHT_FEED(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... MESSAGE(" Should be 0 0: 0.000000 0.000000")
|
||||
N..... SET_G5X_OFFSET(1, 1.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(0.0000)
|
||||
N..... MESSAGE(" Should be -1 0: -1.000000 0.000000")
|
||||
N..... STRAIGHT_FEED(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... MESSAGE(" Should be 0 0: 0.000000 0.000000")
|
||||
N..... SET_G5X_OFFSET(1, 1.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(-45.0000)
|
||||
N..... MESSAGE(" Should be 0 0: 0.000000 0.000000")
|
||||
N..... STRAIGHT_FEED(0.0000, 1.4142, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... MESSAGE(" Should be 0 1.414214: 0.000000 1.414214")
|
||||
N..... SET_G5X_OFFSET(1, 2.0000, 1.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(90.0000)
|
||||
N..... MESSAGE(" Should be 0 0: 0.000000 0.000000")
|
||||
N..... STRAIGHT_FEED(0.0000, 3.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... MESSAGE(" Should be 0 3: 0.000000 3.000000")
|
||||
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(90.0000)
|
||||
N..... MESSAGE(" Should be 1 1: 1.000000 1.000000")
|
||||
N..... STRAIGHT_FEED(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... MESSAGE(" Should be 0 0: 0.000000 0.000000")
|
||||
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(0.0000)
|
||||
N..... MESSAGE(" Should be 0 0: 0.000000 0.000000")
|
||||
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
|
||||
N..... SET_XY_ROTATION(0.0000)
|
||||
N..... SET_FEED_MODE(0, 0)
|
||||
N..... SET_FEED_RATE(0.0000)
|
||||
N..... STOP_SPINDLE_TURNING(0)
|
||||
N..... SET_SPINDLE_MODE(0 0.0000)
|
||||
N..... PROGRAM_END()
|
||||
N..... ON_RESET()
|
||||
N..... ON_RESET()
|
||||
24
tests/interp/g10/g10-l2-while-active/test.ngc
Normal file
24
tests/interp/g10/g10-l2-while-active/test.ngc
Normal file
@@ -0,0 +1,24 @@
|
||||
g54
|
||||
g20
|
||||
g10 l2 p1 x0 y0 z0 r0
|
||||
g1 x0 y0 z0 f60
|
||||
(debug, Should be 0 0: #5420 #5421)
|
||||
g10 l2 p1 x1
|
||||
(debug, Should be -1 0: #5420 #5421)
|
||||
g1 x0 y0 z0
|
||||
(debug, Should be 0 0: #5420 #5421)
|
||||
g10 l2 p1 r-45
|
||||
(debug, Should be 0 0: #5420 #5421)
|
||||
g1 y sqrt[2]
|
||||
(debug, Should be 0 1.414214: #5420 #5421)
|
||||
g10 l2 p1 x2 y1 r90
|
||||
(debug, Should be 0 0: #5420 #5421)
|
||||
g1 y3
|
||||
(debug, Should be 0 3: #5420 #5421)
|
||||
g10 l2 p1 x0 y0
|
||||
(debug, Should be 1 1: #5420 #5421)
|
||||
g1 x0 y0
|
||||
(debug, Should be 0 0: #5420 #5421)
|
||||
g10 l2 p1 r0
|
||||
(debug, Should be 0 0: #5420 #5421)
|
||||
m2
|
||||
3
tests/interp/g10/g10-l2-while-active/test.sh
Executable file
3
tests/interp/g10/g10-l2-while-active/test.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rs274 -g test.ngc | awk '{$1=""; print}'
|
||||
exit "${PIPESTATUS[0]}"
|
||||
Reference in New Issue
Block a user