summaryrefslogtreecommitdiff
path: root/tests/trajectory-planner/circular-arcs/nc_files/quick-tests/straight_segments.ngc
blob: d7c7b549209e0cb0f8e1fd24598b0abafb2f0443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(Simple straight line case to test "perfect" tangent case)
(Setup code)
G20 G90 G64 G17
(Test code begins here)

O100 sub
#1=0
#2=0.0005
G91
o101 while [#1 LT 1000]
  X[#2] Y[#2/4.0]
  #1 = [#1+1] (increment the test counter)
o101 endwhile
G90
X0 Y0 Z0
O100 endsub

G0 X0 Y0 Z0
G1 X0 F999
O100 call
G0 X0
O100 call

M2