对齐 LinuxCNC 解释器行为覆盖
This commit is contained in:
16
tests/gcode/linuxcnc_parameter_expression_assignment.ngc
Normal file
16
tests/gcode/linuxcnc_parameter_expression_assignment.ngc
Normal file
@@ -0,0 +1,16 @@
|
||||
G20
|
||||
#<a> = 2
|
||||
#atan[1]/[1] = 3
|
||||
#3 = 4
|
||||
G0 X#<a> Y#45 Z#3
|
||||
#1 = 5
|
||||
#6 = [#ABS[-1] + 2]
|
||||
G0 A#6
|
||||
G0 B#ABS[-1]
|
||||
#2 = -1
|
||||
G0 C#-#2
|
||||
#-#2 = 6
|
||||
G0 U#1
|
||||
G0 V# ABS[-1]
|
||||
G 0 W 3
|
||||
M2
|
||||
Reference in New Issue
Block a user