继续按 align-linuxcnc 约束:补极坐标源码覆盖,测试通过
This commit is contained in:
5
tests/gcode/linuxcnc_polar_coordinates.ngc
Normal file
5
tests/gcode/linuxcnc_polar_coordinates.ngc
Normal file
@@ -0,0 +1,5 @@
|
||||
G21 G90 G17
|
||||
G0 X0 Y0 Z0
|
||||
G1 @10 ^0 F100
|
||||
G1 @10 ^90
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_polar_g18_error.ngc
Normal file
3
tests/gcode/linuxcnc_polar_g18_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G18
|
||||
G1 @10 ^45 F100
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_polar_g53_error.ngc
Normal file
3
tests/gcode/linuxcnc_polar_g53_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
G53 G1 @10 ^45 F100
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_polar_g92_error.ngc
Normal file
3
tests/gcode/linuxcnc_polar_g92_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
G92 @10 ^45
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G91 G17
|
||||
G1 @10 F100
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G91 G17
|
||||
G1 ^45 F100
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_polar_radius_origin_error.ngc
Normal file
3
tests/gcode/linuxcnc_polar_radius_origin_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
G1 @10 F100
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_polar_with_x_error.ngc
Normal file
3
tests/gcode/linuxcnc_polar_with_x_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
G1 X1 @10 ^45 F100
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_polar_with_y_error.ngc
Normal file
3
tests/gcode/linuxcnc_polar_with_y_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
G1 Y1 @10 ^45 F100
|
||||
M30
|
||||
Reference in New Issue
Block a user