summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmjcir.xtr
blob: a8735f0244225703484b47a1a6b16fe7e2966cf5 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
VERSION 2
DEMOINIT
ORIG 6.000 0.000 0.000
CURVE 1 DEMO 1 12.633333 7.966667 6.000000
	E 12.633333 13.966667 270.000000
	E 12.633333 13.966667 90.000000
	END
CURVE 2 DEMO 1 32.133333 7.966667 6.000000
	E 32.133333 13.966667 270.000000
	E 32.133333 13.966667 90.000000
	END
REDRAW
RESET
MESSAGE
You can also join to and from circles.  This will change the circles to curves.

In this example we will join two circles.
END
STEP
COMMAND JoinTrack
MOUSE 2 14.083 14.083
MOUSE 4 14.083 14.083
MOUSE 2 28.250 12.833
MESSAGE
_________________________________________

Here we've selected points on the two circles.  The direction of the connections (whether clockwise or counter clockwise) is controlled by where on the circle you select the connection points.
END
STEP
MOUSE 3 28.250 12.750
MOUSE 3 28.167 12.750
MOUSE 3 28.083 12.750
MOUSE 3 28.000 12.583
MOUSE 3 27.833 12.417
MOUSE 3 27.750 12.250
MOUSE 3 27.667 12.083
MOUSE 3 27.500 11.917
MOUSE 3 27.250 11.583
MOUSE 3 27.167 11.417
MOUSE 3 27.000 11.167
MOUSE 3 26.917 11.000
MOUSE 3 26.833 10.833
MOUSE 3 26.750 10.750
MOUSE 3 26.750 10.583
MOUSE 3 26.667 10.417
MOUSE 3 26.583 10.250
MOUSE 3 26.583 10.000
MOUSE 3 26.417 9.750
MOUSE 3 26.417 9.583
MOUSE 3 26.417 9.417
MOUSE 3 26.250 9.417
MOUSE 3 26.250 9.167
MOUSE 3 26.250 9.000
MOUSE 3 26.167 8.833
MOUSE 3 26.083 8.667
MOUSE 3 26.083 8.583
MOUSE 3 26.083 8.417
MOUSE 3 26.000 8.250
MOUSE 3 26.000 8.083
MOUSE 3 26.000 7.833
MOUSE 3 26.000 7.750
MOUSE 3 26.083 7.583
MOUSE 3 26.083 7.417
MOUSE 3 26.083 7.250
MOUSE 3 26.083 7.000
MOUSE 3 26.250 6.750
MOUSE 3 26.250 6.500
MOUSE 3 26.250 6.333
MOUSE 3 26.417 6.083
MOUSE 3 26.583 5.833
MOUSE 3 26.667 5.750
MOUSE 3 26.750 5.500
MOUSE 3 26.917 5.250
MOUSE 3 27.083 5.167
MOUSE 3 27.333 4.833
MOUSE 3 27.500 4.750
MOUSE 3 27.583 4.583
MOUSE 3 27.750 4.417
MOUSE 3 27.833 4.417
MOUSE 3 28.000 4.250
MOUSE 3 28.083 4.000
MOUSE 3 28.250 3.833
MOUSE 3 28.417 3.750
MOUSE 3 28.583 3.583
MOUSE 3 28.750 3.417
MOUSE 3 28.917 3.250
MOUSE 3 29.167 3.083
MOUSE 3 29.333 2.917
MOUSE 3 29.750 2.833
MOUSE 3 30.000 2.667
MOUSE 3 30.417 2.500
MOUSE 3 30.750 2.417
MOUSE 3 31.083 2.417
MOUSE 3 31.583 2.417
MOUSE 3 32.000 2.333
MOUSE 3 33.500 2.417
MOUSE 3 34.750 2.750
MOUSE 3 35.250 2.917
MOUSE 3 35.417 3.000
MOUSE 3 35.583 3.167
MOUSE 3 36.083 3.417
MOUSE 3 36.250 3.750
MOUSE 3 36.750 4.250
MOUSE 3 37.167 4.750
MOUSE 3 37.583 5.167
MOUSE 3 37.833 5.667
MOUSE 3 38.000 6.083
MOUSE 3 38.083 6.667
MOUSE 3 38.250 7.083
MOUSE 3 38.250 7.500
MOUSE 3 38.250 7.917
MOUSE 3 38.167 8.250
MOUSE 3 38.083 8.583
MOUSE 3 38.083 9.083
MOUSE 3 37.917 9.417
MOUSE 3 37.917 9.917
MOUSE 3 37.750 10.167
MOUSE 3 37.583 10.500
MOUSE 3 37.333 10.917
MOUSE 3 37.250 11.167
MOUSE 3 36.917 11.417
MOUSE 3 36.583 11.750
MOUSE 3 36.250 12.000
MOUSE 3 35.917 12.250
MOUSE 3 35.750 12.583
MOUSE 3 35.500 12.750
MOUSE 3 35.167 13.083
MOUSE 3 34.833 13.250
MOUSE 3 34.583 13.333
MOUSE 3 34.417 13.417
MOUSE 3 34.250 13.500
MOUSE 4 34.250 13.500
MESSAGE
=========================================
END
REGRESSION START 10 - circle 1
CURVE 1 0 0 0 0 DEMO 2 12.633333 7.966667 0 6.000000 0 0.000000 0.000000
	E4 18.237313 10.110358 -20.933362 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 3 10.489642 13.570647 69.066638 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CURVE 2 0 0 0 0 DEMO 2 32.133333 7.966667 0 6.000000 0 0.000000 0.000000
	T4 3 34.277024 13.570647 290.933362 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	E4 26.529353 10.110358 380.933362 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CURVE 3 0 0 0 0 DEMO 2 22.383333 -17.521516 0 33.289375 0 0.000000 0.000000
	T4 1 10.489642 13.570647 249.066638 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 2 34.277024 13.570647 110.933362 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
REGRESSION END
STEP
CLEAR
MESSAGE
Now let's try a cross connection.
END
STEP
PARAMETER misc cmdUndo
COMMAND JoinTrack
MOUSE 2 15.500 13.333
MOUSE 4 15.500 13.333
MOUSE 2 27.667 4.167
MOUSE 3 27.583 4.167
MOUSE 3 27.667 4.000
MOUSE 3 27.833 3.583
MOUSE 3 28.250 3.167
MOUSE 3 28.667 2.917
MOUSE 3 29.500 2.667
MOUSE 3 30.250 2.583
MOUSE 3 30.583 2.500
MOUSE 3 31.000 2.417
MOUSE 3 31.667 2.333
MOUSE 3 32.000 2.250
MOUSE 3 32.333 2.250
MOUSE 3 32.667 2.250
MOUSE 3 33.167 2.333
MOUSE 3 34.333 2.333
MOUSE 3 34.833 2.417
MOUSE 3 35.167 2.500
MOUSE 3 35.333 2.667
MOUSE 3 35.500 2.833
MOUSE 3 35.667 3.083
MOUSE 3 36.000 3.333
MOUSE 3 36.250 3.500
MOUSE 3 36.500 3.833
MOUSE 3 36.833 4.167
MOUSE 3 37.000 4.500
MOUSE 3 37.167 4.667
MOUSE 3 37.333 5.000
MOUSE 3 37.500 5.333
MOUSE 3 37.583 5.667
MOUSE 3 37.750 6.083
MOUSE 3 38.000 6.667
MOUSE 3 38.167 7.167
MOUSE 3 38.167 7.667
MOUSE 3 38.000 8.083
MOUSE 3 38.000 8.500
MOUSE 3 37.833 9.000
MOUSE 3 37.583 9.500
MOUSE 3 37.333 9.833
MOUSE 3 37.083 10.000
MOUSE 3 36.750 10.583
MOUSE 3 36.500 11.417
MOUSE 3 36.333 12.750
MOUSE 3 36.083 13.250
MOUSE 3 35.750 13.750
MOUSE 3 35.500 13.917
MOUSE 3 34.333 14.000
MOUSE 3 32.500 14.083
MOUSE 3 31.917 14.167
MOUSE 3 31.250 14.250
MOUSE 3 30.500 14.250
MOUSE 3 30.000 14.167
MOUSE 3 29.500 14.083
MOUSE 3 28.833 13.667
MOUSE 3 28.167 13.083
MOUSE 3 26.833 11.333
MOUSE 3 26.667 11.250
MOUSE 3 26.667 11.167
MOUSE 3 26.667 11.083
MOUSE 3 26.667 10.750
MOUSE 3 26.500 10.167
MOUSE 3 26.500 9.750
MOUSE 3 26.500 9.417
MOUSE 3 26.500 9.083
MOUSE 3 26.500 8.750
MOUSE 3 26.417 8.417
MOUSE 3 26.333 8.250
MOUSE 3 26.333 8.000
MOUSE 3 26.333 7.750
MOUSE 3 26.333 7.250
MOUSE 3 26.333 6.833
MOUSE 3 26.500 6.417
MOUSE 3 26.583 6.250
MOUSE 3 26.667 6.000
MOUSE 3 26.833 5.917
MOUSE 3 26.917 5.750
MOUSE 3 27.083 5.583
MOUSE 3 27.250 5.417
MOUSE 3 27.417 5.250
MOUSE 3 27.500 5.083
MOUSE 3 27.583 5.083
MOUSE 3 27.667 4.917
MOUSE 3 27.750 4.917
MOUSE 3 27.833 4.917
MOUSE 3 27.833 4.750
MOUSE 4 27.833 4.750
MESSAGE
_________________________________________

Note that the connection is from different 'ends' of the circle than in the last example.
=========================================
END
STEP
REGRESSION START 10 - circle 2
CURVE 1 0 0 0 0 DEMO 2 12.633333 7.966667 0 6.000000 0 0.000000 0.000000
	E4 18.312924 6.032179 18.809012 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 4 14.567821 13.646258 108.809012 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CURVE 2 0 0 0 0 DEMO 2 32.133333 7.966667 0 6.000000 0 0.000000 0.000000
	E4 28.539473 12.771266 233.203358 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 4 27.328734 4.372807 323.203358 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
CURVE 4 0 0 0 0 DEMO 2 5.966820 -11.605994 0 26.676833 0 0.000000 0.000000
	T4 1 14.567821 13.646258 288.809012 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 2 27.328734 4.372807 143.203358 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
REGRESSION END
RESET
CLEAR