A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | MM | 0 | 45 | 90 | 135 | 180 | ||||||||||||||||||||
2 | 0,0 | 65536,0 | ||||||||||||||||||||||||
3 | 0 | 4020x4300 | 18505x4220 | 33225x4200 | 47875x4250 | 62550x4310 | ||||||||||||||||||||
4 | 45 | 4200x18625 | 18510x18710 | 33225x18630 | 47860x18620 | 62570x18700 | ||||||||||||||||||||
5 | 90 | 4300x33200 | 18520x33250 | 33250x33150 | 47880x33100 | 62590x33110 | ||||||||||||||||||||
6 | 135 | 4150x47875 | 18515x47880 | 33224x47850 | 47865x47860 | 62560x47850 | ||||||||||||||||||||
7 | 180 | 4050x62500 | 18500x62400 | 33210x62495 | 47870x62530 | 62540x62520 | ||||||||||||||||||||
8 | 65,536 | 65536x65536 | ||||||||||||||||||||||||
9 | ||||||||||||||||||||||||||
10 | With the above, the 0,45,90,135,180 are the physical position in MM, and the 4020x4300, etc are logical positions. | |||||||||||||||||||||||||
11 | I need a way to go from the physical position to the logical position. | |||||||||||||||||||||||||
12 | ||||||||||||||||||||||||||
13 | If we wanted to go to 45,45 our numbers would be 18510,18710 | |||||||||||||||||||||||||
14 | If we wanted to go to 135,45 our numbers would be 47880,33100 | |||||||||||||||||||||||||
15 | If we wanted to go to 67.5,67.5, we'd be somewere in the middle of the bold ones. | |||||||||||||||||||||||||
16 | If we wanted to go to 170,170, we'd be close to 180,180, but not entirely. | |||||||||||||||||||||||||
17 | ||||||||||||||||||||||||||
18 | Assume each of the points above were X1,Y1 instead of the numbers, such that I need a formula to translate from the Xmm, Ymm to X,Y coordinates. | |||||||||||||||||||||||||
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 |