View difference between Paste ID: sjkCbENn and Jb3e4t6S
SHOW: | | - or go back to the newest paste.
1-
'Ante2
1+
'Entrance
2
3-
Function T_PAT(ByVal XC As Double, ByVal YC As Double)
3+
Sub S_1036865A(ByVal NND As Integer)
4
ACT_MOD = "1036865"
5-
If XC = 0 Then
5+
6-
XC = (12.15 + 0.1)
6+
7-
ACC = "C180."
7+
8-
Else
8+
9-
XC = XC - (12.15 + 0.1)
9+
10-
ACC = "C0."
10+
11-
End If
11+
12
EN_ASL = 10
13-
T_PAT = T_SPECIAL(XC, YC, "PATTINO-FNL", ACC)
13+
R01 = T_HEX(63.3, L / 2, 11) & T_HEX(63.3 + 132, L / 2, 11)
14
R02 = T_SLOT(M1, 13.5, 16, EN_ASL, 0) & T_SLOT(M1, L - 13.5, 16, EN_ASL, 0)
15
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
16
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
17
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
18
19-
Sub S_1017132A(ByVal NND As Integer)
19+
20-
ACT_MOD = "1017132"
20+
21-
CLAMP = 1
21+
22
P1 = 250
23
P2 = H - 400
24
MVAL = 500
25
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
26
27
28
Call SAVE_SUB(NND, STRINGA)
29
30
POSINTAB = def_posintab(NND)
31
Call CUT_END_S(H, L, "0", POSINTAB)
32
Call FVTPT(3, NND, "")
33-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
33+
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
34-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
34+
Call FVTPT(3, NND, "C")
35-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
35+
36-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
36+
37-
VV = Replace(VV, "P", "")
37+
38
Sub S_1036865B(ByVal NND As Integer)
39
ACT_MOD = "1036865"
40
CLAMP = 0
41
42-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
42+
43
H = INPUT_NUM(NND, "H", H, ACT_MOD)
44-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
44+
45-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
45+
46
If L <> 156.6 Then MsgBox ("ERRORE NELLO SVILUPPO DEL COMPONENTE " & ACT_MOD)
47-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
47+
48-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
48+
EN_ASL = 10
49-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
49+
R01 = T_HEX(63.3, L / 2, 11) & T_HEX(63.3 + 132, L / 2, 11)
50-
R01 = R01 & T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
50+
R02 = T_SLOT(M1, 13.75, 16, EN_ASL, 0) & T_SLOT(M1, L - 13.75, 16, EN_ASL, 0)
51-
R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
51+
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
52-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M6 - 4 * SPS), 10)
52+
R04 = T_RECT1(-2.5, 7.5, 27.5, L - 27.5)
53-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
53+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
54-
R01 = R01 & T_CIRC(121 - 30, L - (14 + BT + M5 - 4 * SPS), 7.2)      'SERVE IL TONDO Ø7
54+
55-
R01 = R01 & T_CIRC(121, L - (14 + BT + M5 - 4 * SPS), 20)            'SERVE IL TONDO Ø20.2
55+
56-
R01 = R01 & T_CIRC(121 + 55, L - (14 + BT + M5 - 4 * SPS), 20)       'SERVE IL TONDO Ø19.5
56+
57
58-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
58+
59-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
59+
60-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M3 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
60+
61-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
61+
62
63-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
63+
64-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
64+
65-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
65+
66-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
66+
67-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
67+
68-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
68+
69
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
70-
YY1 = 14 + BT + 32 - 4 * SPS
70+
Call FVTPT(3, NND, "C")
71
72-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
72+
73
74
Sub S_1036865C(ByVal NND As Integer)
75
ACT_MOD = "1036865"
76-
Case 1, 2
76+
77-
SPEK = 0
77+
78-
Case 3, 4
78+
79
H = INPUT_NUM(NND, "H", H, ACT_MOD)
80
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
81-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
81+
82
VV = INPUT_NUM(NND, "VER.", VV, ACT_MOD)
83
If L <> 156.6 Then MsgBox ("ERRORE NELLO SVILUPPO DEL COMPONENTE " & ACT_MOD)
84-
fn = R01 & R02 & R04
84+
85
86
Select Case VV
87
Case 1
88
EN_ASL = 10
89
R01 = T_HEX(63.3, L / 2, 11) & T_HEX(63.3 + 132, L / 2, 11)
90
R02 = T_SLOT(M1, 13.75, 16, EN_ASL, 0) & T_SLOT(M1, L - 13.75, 16, EN_ASL, 0)
91
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
92
R04 = T_RECT1(-2.5, 7.5, 27.5, L - 27.5)
93
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
94
Case 2
95
EN_ASL = 10
96
R01 = T_HEX(63.3, L / 2, 11) & T_HEX(63.3 + 132, L / 2, 11)
97
R02 = T_SLOT(M1, 13.75, 16, EN_ASL, 0) & T_SLOT(M1, L - 13.75, 16, EN_ASL, 0)
98
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
99
R04 = T_RECT1(-2.5, 7.5, 27.5, L - 27.5)
100
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
101
Case 3
102
EN_ASL = 10
103-
Sub S_1017011A(ByVal NND As Integer)
103+
R01 = T_HEX(63.3, L / 2, 11) & T_HEX(63.3 + 132, L / 2, 11)
104-
ACT_MOD = "1017011"
104+
R02 = T_SLOT(H - 28.3, 13.75, 16, EN_ASL, 0) & T_SLOT(H - 28.3, L - 13.75, 16, EN_ASL, 0)
105-
CLAMP = 1
105+
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
106
R04 = T_RECT1(-2.5, 7.5, 27.5, L - 27.5)
107
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
108
End Select
109
110
'R06 = T_DATAMATRIX(ODP, L / 2 + 20, 70, "O") 'SASSI AGGIUNTA DATAMATRIX 30.06.22
111
112
fn = R01 & R02 & R03 & R04 & R05 '& R06 'SASSI AGGIUNTA DATAMATRIX 30.06.22
113
114
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
115
116-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
116+
117-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
117+
118-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
118+
119-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
119+
120-
VV = Replace(VV, "P", "")
120+
121
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
122
Call FVTPT(3, NND, "C")
123
124
End Sub
125-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
125+
126
127-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
127+
128-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
128+
Sub S_10429030(ByVal NND As Integer)
129
ACT_MOD = "1042903"
130-
R01 = R01 & T_CIRC(46, L - 5, 4.2)
130+
131-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
131+
132-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + 45 - 4 * SPS), 10)
132+
133-
R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
133+
134-
R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
134+
135-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M5 - 4 * SPS), 10)
135+
136-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
136+
137-
R01 = R01 & T_CIRC(121 - 30, L - (14 + BT + M2 - 4 * SPS), 7.2)  'SERVE IL TONDO Ø7
137+
138-
R01 = R01 & T_CIRC(121, L - (14 + BT + M2 - 4 * SPS), 20)        'SERVE IL TONDO Ø20.2
138+
139-
R01 = R01 & T_CIRC(121 + 55, L - (14 + BT + M2 - 4 * SPS), 20)   'SERVE IL TONDO Ø19.5
139+
'If L <> 156.6 Then MsgBox ("ERRORE NELLO SVILUPPO DEL COMPONENTE " & ACT_MOD)
140
141-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
141+
EN_ASL = 10
142-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
142+
R01 = T_HEX(63.3, L - 77.8, 11) & T_HEX(63.3 + 132, L - 77.8, 11)
143-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M3 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
143+
R02 = T_SLOT(M2, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, 13.5, 16, EN_ASL, 0) & T_SLOT(M2, L - 13.5, 16, EN_ASL, 0)
144-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
144+
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
145
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
146-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
146+
147-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
147+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
148-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
148+
149-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
149+
150-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
150+
151-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
151+
152
P1 = 250
153
P2 = H - 400
154-
YY1 = 14 + BT + 32 - 4 * SPS
154+
155
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
156-
'R03 = T_SPECIAL(H - 14.65 + 2.5, L - YY1, "PATTINO-FNL", 0) & T_SPECIAL(H - 14.65 + 2.5, L - YY1 - M3, "PATTINO-FNL", 0)
156+
157-
R03 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
157+
158
Call SAVE_SUB(NND, STRINGA)
159
160-
fn = R01 & R02 & R03
160+
161
Call CUT_END_S(H, L, "0", POSINTAB)
162
Call FVTPT(3, NND, "")
163
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
164
Call FVTPT(3, NND, "C")
165
166
End Sub
167
168
Sub S_1042903B(ByVal NND As Integer)
169
ACT_MOD = "1042903"
170
CLAMP = 0
171
172
L = INPUT_NUM(NND, "L", L, ACT_MOD)
173
H = INPUT_NUM(NND, "H", H, ACT_MOD)
174
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
175
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
176
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
177-
Sub S_1015591A(ByVal NND As Integer)
177+
178-
ACT_MOD = "1015591"
178+
179-
CLAMP = 1
179+
VV = INPUT_NUM(NND, "VER", VV, ACT_MOD)
180
181
Select Case VV
182
Case 1
183
EN_ASL = 10
184
R01 = T_HEX(63.3, L - 77.8, 11) & T_HEX(63.3 + 132, L - 77.8, 11)
185
R02 = T_SLOT(M2, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, 13.5, 16, EN_ASL, 0) & T_SLOT(M2, L - 13.5, 16, EN_ASL, 0)
186
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
187
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
188-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
188+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
189-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
189+
190-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
190+
EN_ASL = 10
191-
VV = Replace(VV, "H", "")
191+
R01 = T_HEX(63.3, L - 77.8, 11) & T_HEX(63.3 + 132, L - 77.8, 11)
192
R02 = T_SLOT(M2, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, 13.5, 16, EN_ASL, 0) & T_SLOT(M2, L - 13.5, 16, EN_ASL, 0)
193
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
194
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
195
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
196
Case 3
197
EN_ASL = 10
198
R01 = T_HEX(63.3, L - 77.8, 11) & T_HEX(63.3 + 132, L - 77.8, 11)
199-
R01 = T_RECT1(-46, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
199+
R02 = T_SLOT(H - 28.3, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, 13.5, 16, EN_ASL, 0) & T_SLOT(H - 28.3, L - 13.5, 16, EN_ASL, 0)
200-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
200+
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
201
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
202-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
202+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
203-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + M2 - 4 * SPS), 10)
203+
204-
R02 = T_CIRC(13, L - (M1 + BT + M4 + M2 - 45 - 4 * SPS), 10)
204+
MsgBox ("ERRORE VERSIONE " & ACT_MOD)
205-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + 45 - 4 * SPS), 10)
205+
206-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10)
206+
207
208-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS) - 55, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS))
208+
209-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 55)
209+
210
211-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
211+
212-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
212+
213
POSINTAB = def_posintab(NND)
214
Call CUT_END_S(H, L, "0", POSINTAB)
215-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
215+
216-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
216+
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
217-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
217+
Call FVTPT(3, NND, "C")
218-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
218+
219-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
219+
220-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
220+
221
222
223-
YY1 = M1 + BT + 32 - 4 * SPS
223+
Sub S_10483620(ByVal NND As Integer)
224
ACT_MOD = "1048362"
225-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
225+
226-
SPEK = 0
226+
227
L = INPUT_NUM(NND, "L", L, ACT_MOD)
228
H = INPUT_NUM(NND, "H", H, ACT_MOD)
229
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
230-
R01 = T_RECT1(-6.6, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
230+
231-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
231+
232
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
233-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
233+
234-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + M2 - 4 * SPS), 10)
234+
235-
R02 = T_CIRC(13, L - (M1 + BT + M4 + M2 - 45 - 4 * SPS), 10)
235+
EN_ASL = 10
236-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + 45 - 4 * SPS), 10)
236+
R01 = T_HEX(63.3, 77.8, 11) & T_HEX(63.3 + 132, 77.8, 11)
237-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10)
237+
R02 = T_SLOT(M2, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, L - 13.5, 16, EN_ASL, 0) & T_SLOT(M2, L - 13.5, 16, EN_ASL, 0)
238
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
239-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS) - 55, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS))
239+
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
240-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 55)
240+
241-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
241+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
242-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
242+
243
fn = R01 & R02 & R03 & R04 & R05
244
245-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
245+
246-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
246+
247-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
247+
248-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
248+
249-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
249+
250-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
250+
251
Call CUT_END_S(H, L, "0", POSINTAB)
252
Call FVTPT(3, NND, "")
253-
YY1 = M1 + BT + 32 - 4 * SPS
253+
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
254
Call FVTPT(3, NND, "C")
255-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
255+
256-
SPEK = 0
256+
257
258
259
Sub S_1048362A(ByVal NND As Integer)
260-
R01 = T_RECT1(-46, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
260+
ACT_MOD = "1048362"
261-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
261+
262
263-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
263+
264-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + M2 - 4 * SPS), 10)
264+
265-
R02 = T_CIRC(13, L - (M1 + BT + M4 + M2 - 45 - 4 * SPS), 10)
265+
266-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + 45 - 4 * SPS), 10)
266+
267-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10)
267+
268
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
269-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS) - 55, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS))
269+
270-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 55)
270+
VV = INPUT_NUM(NND, "VER", VV, ACT_MOD)
271
'**********************************
272-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
272+
273-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
273+
274
Case 1
275
EN_ASL = 10
276-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
276+
R01 = T_HEX(63.3, 77.8, 11) & T_HEX(63.3 + 132, 77.8, 11)
277-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
277+
R02 = T_SLOT(M2, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, L - 13.5, 16, EN_ASL, 0) & T_SLOT(M2, L - 13.5, 16, EN_ASL, 0)
278-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
278+
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
279-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
279+
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
280-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
280+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
281-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
281+
282
EN_ASL = 10
283
R01 = T_HEX(63.3, 77.8, 11) & T_HEX(63.3 + 132, 77.8, 11)
284-
YY1 = M1 + BT + 32 - 4 * SPS
284+
R02 = T_SLOT(M2, 13.5, 16, EN_ASL, 0) & T_SLOT(36.3, L - 13.5, 16, EN_ASL, 0) & T_SLOT(M2, L - 13.5, 16, EN_ASL, 0)
285
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
286-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
286+
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
287
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
288
Case 3
289-
Case 4
289+
EN_ASL = 10
290
R01 = T_HEX(63.3, 77.8, 11) & T_HEX(63.3 + 132, 77.8, 11)
291-
R01 = T_RECT1(-6.6, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
291+
R02 = T_SLOT(36.3, L - 13.5, 16, EN_ASL, 0) & T_SLOT(H - 28.3, L - 13.5, 16, EN_ASL, 0) & T_SLOT(H - 28.3, 13.5, 16, EN_ASL, 0)
292-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
292+
R03 = T_CIRC(0, 11, 4.2) & T_CIRC(0, L - 11, 4.2)
293
R04 = T_RECT1(-2.5, 7.5, 27, L - 27)
294-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
294+
R05 = T_SMUS(0, 0) & T_SMUS(H, 0) & T_SMUS(H, L) & T_SMUS(0, L)
295-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + M2 - 4 * SPS), 10)
295+
296-
R02 = T_CIRC(13, L - (M1 + BT + M4 + M2 - 45 - 4 * SPS), 10)
296+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
297-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + 45 - 4 * SPS), 10)
297+
298-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10)
298+
299
'**********************************
300-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS) - 55, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS))
300+
301-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 55)
301+
302
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
303-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
303+
304-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
304+
305
306
POSINTAB = def_posintab(NND)
307-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
307+
308-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
308+
309-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
309+
Call CUT_END_T_special(H, L, 0, 0, "C", POSINTAB)
310-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
310+
Call FVTPT(3, NND, "C")
311-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
311+
312-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
312+
313
314
315-
YY1 = M1 + BT + 32 - 4 * SPS
315+
Sub S_1036629A(ByVal NND As Integer)
316
ACT_MOD = "1036629"
317-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
317+
318
319
L = INPUT_NUM(NND, "L", L, ACT_MOD)
320
H = INPUT_NUM(NND, "H", H, ACT_MOD)
321-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
321+
322
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
323
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
324-
fn = R01 & R02 & R04
324+
325
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
326
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
327
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
328
M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
329
M8 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
330
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
331
M10 = INPUT_NUM(NND, "M10", M10, ACT_MOD)
332
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
333
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
334
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
335
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
336
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
337
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
338
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
339
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
340
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
341
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
342-
Sub S_1015607C(ByVal NND As Integer)
342+
343-
ACT_MOD = "1015607"
343+
344-
CLAMP = 1
344+
EN_ASL = 10
345
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
346
347
348
Select Case ver
349
Case 1
350
AGG = 1
351
Case 2
352
AGG = 2
353
Case Else
354
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
355-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
355+
356-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
356+
357-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
357+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
358-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
358+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
359-
VV = Replace(VV, "P", "")
359+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
360
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
361
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
362
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
363
364
R01 = R01A & R01B & R01C & R01D & R01E & R01F
365
366
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
367-
Case 1, 2
367+
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
368-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
368+
R02 = R02A & R02B
369-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
369+
370-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
370+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
371-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
371+
R03B = T_SLOT(M5 + M6 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
372-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
372+
R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
373-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
373+
R03 = R03A & R03B & R03C
374-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
374+
375-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
375+
DIM_ASL = 6.5
376-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M6 - 4 * SPS), 10)
376+
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
377-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
377+
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
378
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
379-
If VV = 2 Then
379+
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
380-
R03 = T_CIRC(121, L - (14 + BT + M5 - 4 * SPS), 20)       'SERVE IL TONDO Ø20.2
380+
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
381-
End If
381+
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
382-
If VV = 1 Then
382+
R04 = R04A & R04B & R04C & R04D & R04E & R04F
383-
R03 = T_RECT2(121, L - (14 + BT + M5 - 4 * SPS), 24, 24)
383+
384-
End If
384+
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
385
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
386-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
386+
R06 = ""
387-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
387+
388-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M3 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
388+
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
389-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
389+
390
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
391-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
391+
392-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
392+
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
393-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
393+
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
394-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
394+
R09C = T_CIRC(0, L - 20, 20.2) & T_CIRC(H, L - 20, 20.2)
395-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
395+
R09 = R09A & R09B & R09C
396-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
396+
397
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
398-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
398+
R_MS = 0.7
399-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
399+
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
400
401-
YY1 = 14 + BT + 32 - 4 * SPS
401+
402-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
402+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11
403-
SPEK = 0
403+
404
405-
Case 3, 4
405+
406-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
406+
407-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
407+
408-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
408+
409-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
409+
410-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
410+
411-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
411+
412-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
412+
413-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
413+
414-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M6 - 4 * SPS), 10)
414+
415-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
415+
416
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
417-
If VV = 4 Then
417+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
418-
R03 = T_CIRC(121, L - (14 + BT + M5 - 4 * SPS), 20)       'SERVE IL TONDO Ø20.2
418+
    STR_OUT(2) = TL_CLN
419-
End If
419+
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
420-
If VV = 3 Then
420+
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
421-
R03 = T_RECT2(121, L - (14 + BT + M5 - 4 * SPS), 24, 24)
421+
    STR_OUT(5) = TL_CUT_O
422-
End If
422+
    STR_OUT(6) = "TOOLANGLE(0)"
423
    STR_OUT(7) = "MIDCUT(N)"
424-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
424+
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
425-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
425+
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
426-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M3 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
426+
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
427-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
427+
    STR_OUT(11) = "'FINE BLOCCO"
428
429-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
429+
'Call CUT_END_S(H, L, "0", POSINTAB)
430-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
430+
431-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
431+
432-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
432+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
433-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
433+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
434-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
434+
    STR_OUT(2) = TL_CLN
435
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
436-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
436+
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
437-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
437+
    STR_OUT(5) = TL_CUT_V
438
    STR_OUT(6) = "TOOLANGLE(90)"
439-
YY1 = 14 + BT + 32 - 4 * SPS
439+
    STR_OUT(7) = "MIDCUT(N)"
440-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
440+
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
441
    STR_OUT(9) = TL_CUT_O
442
    STR_OUT(10) = "TOOLANGLE(0)"
443-
Case 5, 6
443+
    STR_OUT(11) = "MIDCUT(N)"
444-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
444+
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
445-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
445+
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
446-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
446+
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
447-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
447+
    STR_OUT(15) = "'FINE BLOCCO"
448-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
448+
449-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
449+
'Call CUT_END_S(H, L, "C", POSINTAB)
450-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
450+
Call FVTPT(3, NND, "C")
451-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
451+
452-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M6 - 4 * SPS), 10)
452+
453-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
453+
454
455-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
455+
456-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
456+
457-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M3 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
457+
Sub S_1036629D(ByVal NND As Integer)
458-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
458+
ACT_MOD = "1036629"
459
CLAMP = 0
460-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
460+
461-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
461+
462-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
462+
463-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
463+
464-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
464+
465-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
465+
466
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
467-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
467+
468-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
468+
469-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS, 8.5)
469+
470-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS + 0.75, 8.5)
470+
471-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS - 0.75, 8.5)
471+
472
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
473
M10 = INPUT_NUM(NND, "M10", M10, ACT_MOD)
474-
YY1 = 14 + BT + 32 - 4 * SPS
474+
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
475-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
475+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
476-
SPEK = 0
476+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
477
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
478-
Case 7, 8
478+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
479-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
479+
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
480-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
480+
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
481-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
481+
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
482-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
482+
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
483-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
483+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
484-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
484+
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
485-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
485+
M22 = INPUT_NUM(NND, "M22", M22, ACT_MOD)
486-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
486+
487-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M6 - 4 * SPS), 10)
487+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
488-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
488+
ODP = INFO_DAT(NND, 0, 5)
489
490-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
490+
491-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
491+
EN_ASL = 10
492-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M3 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
492+
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
493-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
493+
494
495-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
495+
Select Case ver
496-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
496+
497-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
497+
AGG = 1
498-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
498+
499-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
499+
AGG = 2
500-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
500+
501
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
502-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
502+
503-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
503+
504-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS, 8.5)
504+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
505-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS + 0.75, 8.5)
505+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
506-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS - 0.75, 8.5)
506+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
507
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
508
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
509-
YY1 = 14 + BT + 32 - 4 * SPS
509+
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
510-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
510+
511
R01 = R01A & R01B & R01C & R01D & R01E & R01F
512
513
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
514
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
515-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
515+
R02 = R02A & R02B
516
517
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
518
R03B = T_SLOT(M5 + M6 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
519
R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
520
R03 = R03A & R03B & R03C
521
522
DIM_ASL = 6.5
523
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
524
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
525
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
526
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
527
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
528
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
529
R04 = R04A & R04B & R04C & R04D & R04E & R04F
530
531
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
532
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
533
R06 = ""
534
535
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
536-
Sub S_1025682A(ByVal NND As Integer)
536+
537-
ACT_MOD = "1025682"
537+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
538
539
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
540
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
541
542
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
543
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
544
545
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
546
R09 = R09A & R09B & R09C & R09D
547
548
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
549
R_MS = 0.7
550
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
551
552
If M21 > 0 Then R12 = T_SLOT(M21, 13 + 58 + M20 - 4 * SPS, 12, 6.5, 90) Else R12 = ""
553-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
553+
If M22 > 0 Then R13 = T_SLOT(H - M22, 13 + 58 + M20 - 4 * SPS, 12, 6.5, 90) Else R13 = ""
554-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
554+
555-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
555+
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
556-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
556+
557-
VV = Replace(VV, "P", "")
557+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R12 & R13 & R14
558
559
560
P1 = 250
561
P2 = H - 400
562
MVAL = 500
563
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
564-
Case 1, 2
564+
565-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
565+
566-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
566+
567-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
567+
568-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
568+
569-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
569+
570-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
570+
571-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
571+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
572-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
572+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
573-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M10 - 4 * SPS), 10)
573+
    STR_OUT(2) = TL_CLN
574-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
574+
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
575
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
576-
If VV = 2 Then
576+
    STR_OUT(5) = TL_CUT_O
577-
R03 = T_CIRC(121, L - (14 + BT + M5 - 4 * SPS), 20)       'SERVE IL TONDO Ø20.2
577+
    STR_OUT(6) = "TOOLANGLE(0)"
578-
End If
578+
    STR_OUT(7) = "MIDCUT(N)"
579-
If VV = 1 Then
579+
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
580-
R03 = T_RECT2(121, L - (14 + BT + M5 - 4 * SPS), 24, 24)
580+
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
581-
End If
581+
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
582
    STR_OUT(11) = "'FINE BLOCCO"
583-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
583+
584-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L + SCS)
584+
'Call CUT_END_S(H, L, "0", POSINTAB)
585-
R01 = R01 & T_RECT1(H - 10, H + 1, -SCS, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
585+
586-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
586+
587
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
588-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
588+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
589-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
589+
    STR_OUT(2) = TL_CLN
590-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
590+
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
591-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
591+
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
592-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
592+
    STR_OUT(5) = TL_CUT_V
593-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
593+
    STR_OUT(6) = "TOOLANGLE(90)"
594
    STR_OUT(7) = "MIDCUT(N)"
595-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
595+
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
596-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
596+
    STR_OUT(9) = TL_CUT_O
597
    STR_OUT(10) = "TOOLANGLE(0)"
598
    STR_OUT(11) = "MIDCUT(N)"
599-
YY1 = 14 + BT + 32 - 4 * SPS
599+
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
600-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
600+
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
601-
R05 = T_RECT1(H - 30 - M9, H - 30 - M9 + M8, L - 14 - BT - M6 + M7 / 2 + 4 * SPS, L - 14 - BT - M6 - M7 / 2 + 4 * SPS)
601+
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
602-
SPEK = 0
602+
    STR_OUT(15) = "'FINE BLOCCO"
603
604-
Case 3, 4
604+
'Call CUT_END_S(H, L, "C", POSINTAB)
605-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
605+
Call FVTPT(3, NND, "C")
606-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
606+
607-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
607+
608-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
608+
609-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
609+
610-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
610+
611-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
611+
612-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
612+
Sub S_1036629E(ByVal NND As Integer)
613-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M10 - 4 * SPS), 10)
613+
ACT_MOD = "1036629"
614-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
614+
615
616-
If VV = 4 Then
616+
617-
R03 = T_CIRC(121, L - (14 + BT + M5 - 4 * SPS), 20)       'SERVE IL TONDO Ø20.2
617+
618-
End If
618+
619-
If VV = 3 Then
619+
620-
R03 = T_RECT2(121, L - (14 + BT + M5 - 4 * SPS), 24, 24)
620+
621-
End If
621+
622
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
623-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
623+
624-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L + SCS)
624+
625-
R01 = R01 & T_RECT1(H - 10, H + 1, -SCS, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
625+
626-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
626+
627
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
628-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
628+
629-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
629+
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
630-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
630+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
631-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
631+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
632-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
632+
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
633-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
633+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
634
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
635-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
635+
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
636-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
636+
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
637
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
638-
YY1 = 14 + BT + 32 - 4 * SPS
638+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
639-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
639+
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
640-
R05 = T_RECT1(H - 30 - M9, H - 30 - M9 + M8, L - 14 - BT - M6 + M7 / 2 + 4 * SPS, L - 14 - BT - M6 - M7 / 2 + 4 * SPS)
640+
M22 = INPUT_NUM(NND, "M22", M22, ACT_MOD)
641
M23 = INPUT_NUM(NND, "M23", M23, ACT_MOD)
642
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
643-
Case 5, 6
643+
ODP = INFO_DAT(NND, 0, 5)
644-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
644+
645-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
645+
646-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
646+
EN_ASL = 10
647-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
647+
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
648-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
648+
649-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
649+
650-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
650+
Select Case ver
651-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
651+
652-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M10 - 4 * SPS), 10)
652+
AGG = 1
653-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
653+
654
AGG = 2
655-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
655+
656-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L + SCS)
656+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
657-
R01 = R01 & T_RECT1(H - 10, H + 1, -SCS, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
657+
658-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
658+
659
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
660-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
660+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
661-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
661+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
662-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
662+
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
663-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
663+
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
664-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
664+
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
665-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
665+
666
R01 = R01A & R01B & R01C & R01D & R01E & R01F
667-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
667+
668-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
668+
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
669
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
670-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS, 8.5)
670+
R02 = R02A & R02B
671-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS + 0.75, 8.5)
671+
672-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS - 0.75, 8.5)
672+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
673
R03B = T_SLOT(M5 + M6 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
674
If M16 > 0 Then R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03C = ""
675-
YY1 = 14 + BT + 32 - 4 * SPS
675+
If M23 > 0 Then R03D = T_SLOT(M23, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03D = ""
676-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
676+
R03 = R03A & R03B & R03C & R03D
677-
R05 = T_RECT1(H - 30 - M9, H - 30 - M9 + M8, L - 14 - BT - M6 + M7 / 2 + 4 * SPS, L - 14 - BT - M6 - M7 / 2 + 4 * SPS)
677+
678-
SPEK = 0
678+
DIM_ASL = 6.5
679
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
680-
Case 7, 8
680+
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
681-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
681+
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
682-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
682+
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
683-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
683+
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
684-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
684+
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
685-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10)
685+
R04 = R04A & R04B & R04C & R04D & R04E & R04F
686-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10)
686+
687-
'Print #NF, T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10)
687+
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
688-
'Print #NF, T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS))
688+
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
689-
R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M10 - 4 * SPS), 10)
689+
R06 = ""
690-
R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10)
690+
691
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
692-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
692+
693-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L + SCS)
693+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
694-
R01 = R01 & T_RECT1(H - 10, H + 1, -SCS, L - (14 + BT + 32 + M3 - 18 - 4 * SPS))
694+
695-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
695+
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
696
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
697-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
697+
698-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
698+
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
699-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
699+
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
700-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
700+
701-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M3 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M3 - 18 - 4 * SPS), 1, 1)
701+
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
702-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
702+
R09 = R09A & R09B & R09C & R09D
703
704-
R01 = R01 & T_CIRC(8, L - 158 - BT - 14 + 4 * SPS, 10)
704+
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
705-
R01 = R01 & T_RECT2(3, L - 158 - BT - 14 + 4 * SPS, 10, 10)
705+
R_MS = 0.7
706-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS, 8.5)
706+
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
707-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS + 0.75, 8.5)
707+
708-
R01 = R01 & T_CIRC(19, L - 138 - BT - 14 + 4 * SPS - 0.75, 8.5)
708+
If M21 > 0 Then R12 = T_SLOT(M21, 13 + 58 + M20 - 4 * SPS, 20, 6.5, 90) Else R12 = ""
709
If M22 > 0 Then R13 = T_SLOT(H - M22, 13 + 58 + M20 - 4 * SPS, 20, 6.5, 90) Else R13 = ""
710
711-
YY1 = 14 + BT + 32 - 4 * SPS
711+
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
712-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
712+
713-
R05 = T_RECT1(H - 30 - M9, H - 30 - M9 + M8, L - 14 - BT - M6 + M7 / 2 + 4 * SPS, L - 14 - BT - M6 - M7 / 2 + 4 * SPS)
713+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R12 & R13 & R14
714
715
716
P1 = 250
717
P2 = H - 400
718-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
718+
719
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
720
SPEK = 1
721
STRINGA = MIRROR(STRINGA, H, L, 0, SPEK)
722
723
Call SAVE_SUB(NND, STRINGA)
724
725
POSINTAB = def_posintab(NND)
726
727
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
728
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
729
    STR_OUT(2) = TL_CLN
730
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
731
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
732
    STR_OUT(5) = TL_CUT_O
733
    STR_OUT(6) = "TOOLANGLE(0)"
734
    STR_OUT(7) = "MIDCUT(N)"
735
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
736
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
737
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
738
    STR_OUT(11) = "'FINE BLOCCO"
739-
Sub S_1015627A(ByVal NND As Integer)
739+
740-
ACT_MOD = "1015627"
740+
'Call CUT_END_S(H, L, "0", POSINTAB)
741-
CLAMP = 1
741+
742
743
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
744
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
745
    STR_OUT(2) = TL_CLN
746
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
747
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
748
    STR_OUT(5) = TL_CUT_V
749
    STR_OUT(6) = "TOOLANGLE(90)"
750
    STR_OUT(7) = "MIDCUT(N)"
751
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
752-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
752+
    STR_OUT(9) = TL_CUT_O
753-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
753+
    STR_OUT(10) = "TOOLANGLE(0)"
754-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
754+
    STR_OUT(11) = "MIDCUT(N)"
755-
VV = Replace(VV, "H", "")
755+
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
756
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
757
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
758
    STR_OUT(15) = "'FINE BLOCCO"
759
760
'Call CUT_END_S(H, L, "C", POSINTAB)
761
Call FVTPT(3, NND, "C")
762
763
764-
R01 = T_RECT1(-46, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
764+
765-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
765+
766
767-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
767+
Sub S_1036629F(ByVal NND As Integer)
768-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M2 - 4 * SPS), 10)
768+
ACT_MOD = "1036629"
769-
R02 = T_CIRC(13, L - (M1 + BT + M5 + M2 - M3 - 4 * SPS), 10)
769+
770-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M3 - 4 * SPS), 10)
770+
771-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 - 4 * SPS), 10)
771+
772
H = INPUT_NUM(NND, "H", H, ACT_MOD)
773-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS))
773+
774-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 60)
774+
775-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
775+
776-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
776+
777
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
778-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
778+
779-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
779+
780-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
780+
781-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
781+
782-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
782+
783-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
783+
784
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
785
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
786-
YY1 = M1 + BT + 32 - 4 * SPS
786+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
787-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
787+
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
788-
SPEK = 0
788+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
789
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
790
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
791
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
792-
R01 = T_RECT1(-6.6, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
792+
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
793-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
793+
'M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
794
'M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
795-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
795+
'M22 = INPUT_NUM(NND, "M22", M22, ACT_MOD)
796-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M2 - 4 * SPS), 10)
796+
M23 = INPUT_NUM(NND, "M23", M23, ACT_MOD)
797-
R02 = T_CIRC(13, L - (M1 + BT + M5 + M2 - M3 - 4 * SPS), 10)
797+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
798-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M3 - 4 * SPS), 10)
798+
ODP = INFO_DAT(NND, 0, 5)
799-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 - 4 * SPS), 10)
799+
800
SCS = 6
801-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS))
801+
EN_ASL = 10
802-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 60)
802+
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
803-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
803+
804-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
804+
805
Select Case ver
806-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
806+
807-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
807+
AGG = 1
808-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
808+
809-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
809+
AGG = 2
810-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
810+
811-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
811+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
812
End Select
813
814-
YY1 = M1 + BT + 32 - 4 * SPS
814+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
815-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
815+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
816-
SPEK = 0
816+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
817
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
818
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
819
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
820-
R01 = T_RECT1(-46, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
820+
821-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
821+
R01 = R01A & R01B & R01C & R01D & R01E & R01F
822
823-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
823+
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
824-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M2 - 4 * SPS), 10)
824+
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
825-
R02 = T_CIRC(13, L - (M1 + BT + M5 + M2 - M3 - 4 * SPS), 10)
825+
R02 = R02A & R02B
826-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M3 - 4 * SPS), 10)
826+
827-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 - 4 * SPS), 10)
827+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
828
R03B = T_SLOT(M5 + M6 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
829-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS))
829+
If M16 > 0 Then R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03C = ""
830-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 60)
830+
If M23 > 0 Then R03D = T_SLOT(M23, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03D = ""
831-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
831+
R03 = R03A & R03B & R03C & R03D
832-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
832+
833
DIM_ASL = 6.5
834-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
834+
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
835-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
835+
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
836-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
836+
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
837-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
837+
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
838-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
838+
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
839-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
839+
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
840
R04 = R04A & R04B & R04C & R04D & R04E & R04F
841
842-
YY1 = M1 + BT + 32 - 4 * SPS
842+
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
843-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
843+
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
844
R06 = ""
845
846-
Case 4
846+
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
847
848-
R01 = T_RECT1(-6.6, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
848+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
849-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
849+
850
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
851-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
851+
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
852-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M2 - 4 * SPS), 10)
852+
853-
R02 = T_CIRC(13, L - (M1 + BT + M5 + M2 - M3 - 4 * SPS), 10)
853+
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
854-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 + M3 - 4 * SPS), 10)
854+
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
855-
R01 = R01 & T_CIRC(13, L - (M1 + BT + M5 - 4 * SPS), 10)
855+
856
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
857-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS))
857+
R09 = R09A & R09B & R09C & R09D
858-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (M1 + BT + 32 + 18 - 4 * SPS), L - (M1 + BT + 32 + 18 - 4 * SPS) + 60)
858+
859-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS))
859+
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
860-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS)
860+
R_MS = 0.7
861
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
862-
R01 = R01 & T_BLQ(5, L - (M1 + BT + LA - 4 - 4 * SPS), 0, L - (M1 + BT + LA - 4 - 4 * SPS) + 5, 1, 1)
862+
863-
R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1)
863+
'If M21 > 0 Then R12 = T_SLOT(M21, 13 + 58 + M20 - 4 * SPS, 20, 6.5, 90) Else R12 = ""
864-
R01 = R01 & T_BLQ(H - 15, L - (M1 + BT + 4 - 4 * SPS), H - 10, L - (M1 + BT + 4 - 4 * SPS) - 5, 1, 1)
864+
'If M22 > 0 Then R13 = T_SLOT(H - M22, 13 + 58 + M20 - 4 * SPS, 20, 6.5, 90) Else R13 = ""
865-
R01 = R01 & T_BLQ(H - 5, L - (M1 + BT + 32 + 18 - 4 * SPS), H, L - (M1 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
865+
866-
R01 = R01 & T_BLQ(H, L - (M1 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (M1 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
866+
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
867-
R01 = R01 & T_BLQ(H - 10, L - (M1 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (M1 + BT + LA - 4 - 4 * SPS), 1, 1)
867+
868
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R14  '& R12 & R13
869
870-
YY1 = M1 + BT + 32 - 4 * SPS
870+
871-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
871+
872
P2 = H - 400
873
MVAL = 500
874
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
875
SPEK = 1
876-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
876+
877
878
Call SAVE_SUB(NND, STRINGA)
879-
fn = R01 & R02 & R04
879+
880
POSINTAB = def_posintab(NND)
881
882
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
883
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
884
    STR_OUT(2) = TL_CLN
885
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
886
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
887
    STR_OUT(5) = TL_CUT_O
888
    STR_OUT(6) = "TOOLANGLE(0)"
889
    STR_OUT(7) = "MIDCUT(N)"
890
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
891
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
892
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
893
    STR_OUT(11) = "'FINE BLOCCO"
894
895
'Call CUT_END_S(H, L, "0", POSINTAB)
896-
Sub S_1015448C(ByVal NND As Integer)
896+
897-
ACT_MOD = "1015448"
897+
898-
CLAMP = 1
898+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
899
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
900
    STR_OUT(2) = TL_CLN
901
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
902
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
903
    STR_OUT(5) = TL_CUT_V
904
    STR_OUT(6) = "TOOLANGLE(90)"
905
    STR_OUT(7) = "MIDCUT(N)"
906
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
907
    STR_OUT(9) = TL_CUT_O
908-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
908+
    STR_OUT(10) = "TOOLANGLE(0)"
909-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
909+
    STR_OUT(11) = "MIDCUT(N)"
910-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
910+
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
911-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
911+
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
912-
VV = Replace(VV, "P", "")
912+
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
913
    STR_OUT(15) = "'FINE BLOCCO"
914
915
'Call CUT_END_S(H, L, "C", POSINTAB)
916
Call FVTPT(3, NND, "C")
917
918
919
End Sub
920-
Case 1, 2
920+
921-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
921+
922-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
922+
Sub S_10414310(ByVal NND As Integer)
923-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
923+
ACT_MOD = "1041431"
924
CLAMP = 0
925-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
925+
926-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
926+
927-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 45 - 4 * SPS), 10)
927+
928-
'R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
928+
929-
'R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
929+
930-
R02 = T_CIRC(13, L - (14 + BT + M1 + M3 - M5 - 4 * SPS), 10)
930+
931-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + M3 - 4 * SPS), 10)
931+
932
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
933-
If VV = 2 Then
933+
934-
R03 = T_CIRC(121, L - (14 + BT + M2 - 4 * SPS), 20)       'SERVE IL TONDO Ø20.2
934+
935-
End If
935+
936-
If VV = 1 Then
936+
937-
R03 = T_RECT2(121, L - (14 + BT + M2 - 4 * SPS), 24, 24)
937+
938-
End If
938+
939
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
940-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
940+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
941-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
941+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
942-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M4 - 18 - 4 * SPS))
942+
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
943-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
943+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
944
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
945-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
945+
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
946-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
946+
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
947-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
947+
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
948-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
948+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
949-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
949+
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
950-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
950+
M22 = INPUT_NUM(NND, "M22", M22, ACT_MOD)
951
M23 = INPUT_NUM(NND, "M23", M23, ACT_MOD)
952
M24 = INPUT_NUM(NND, "M24", M24, ACT_MOD)
953-
YY1 = 14 + BT + 32 - 4 * SPS
953+
954-
R01 = R01 & T_RECT1(-4, 11, L - 98 - 14 - BT + 4 * SPS, L - 98 - 14 - BT + 4 * SPS - 18)
954+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
955-
R01 = R01 & T_BLQ(5, L - 98 - BT - 14 + 4 * SPS, 0, L - 98 - BT - 14 + 4 * SPS + 5, 1, 1)
955+
ODP = INFO_DAT(NND, 0, 5)
956-
R01 = R01 & T_BLQ(0, L - 98 - 18 - BT - 14 + 4 * SPS - 5, 5, L - 98 - 18 - BT - 14 + 4 * SPS, 1, 1)
956+
957-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
957+
958-
SPEK = 0
958+
EN_ASL = 10
959
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
960-
Case 3, 4
960+
961-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
961+
962-
R01 = R01 & T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
962+
Select Case ver
963-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
963+
964-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
964+
AGG = 1
965-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
965+
966-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 45 - 4 * SPS), 10)
966+
AGG = 2
967-
'R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
967+
968-
'R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
968+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
969-
R02 = T_CIRC(13, L - (14 + BT + M1 + M3 - M5 - 4 * SPS), 10)
969+
970-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + M3 - 4 * SPS), 10)
970+
971
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
972-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
972+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
973-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
973+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
974-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M4 - 18 - 4 * SPS))
974+
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
975-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
975+
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
976
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
977-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
977+
978-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
978+
R01 = R01A & R01B & R01C & R01D & R01E & R01F
979-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
979+
980-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
980+
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
981-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
981+
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
982-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
982+
R02 = R02A & R02B
983
984
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
985-
YY1 = 14 + BT + 32 - 4 * SPS
985+
If M20 > 0 Then R03A = R03A & T_SLOT(M5 + 50 - M20, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
986
R03B = T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
987-
R01 = R01 & T_RECT1(-4, 11, L - 98 - 14 - BT + 4 * SPS, L - 98 - 14 - BT + 4 * SPS - 18)
987+
If M21 > 0 Then R03B = R03B & T_SLOT(M5 + M6 - 50 + M21, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
988-
R01 = R01 & T_BLQ(5, L - 98 - BT - 14 + 4 * SPS, 0, L - 98 - BT - 14 + 4 * SPS + 5, 1, 1)
988+
R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
989-
R01 = R01 & T_BLQ(0, L - 98 - 18 - BT - 14 + 4 * SPS - 5, 5, L - 98 - 18 - BT - 14 + 4 * SPS, 1, 1)
989+
R03 = R03A & R03B & R03C
990-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS, 8.5)
990+
991-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS + 0.5, 8.5)
991+
DIM_ASL = 6.5
992-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS - 0.5, 8.5)
992+
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
993
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
994-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
994+
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
995
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
996
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
997-
Case 5, 6
997+
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
998-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
998+
R04 = R04A & R04B & R04C & R04D & R04E & R04F
999-
R01 = R01 & T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
999+
1000-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1000+
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
1001-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1001+
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
1002-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1002+
R06 = ""
1003-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 45 - 4 * SPS), 10)
1003+
1004-
'R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
1004+
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
1005-
'R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
1005+
1006-
R02 = T_CIRC(13, L - (14 + BT + M1 + M3 - M5 - 4 * SPS), 10)
1006+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
1007-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + M3 - 4 * SPS), 10)
1007+
1008
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
1009-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1009+
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
1010-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
1010+
1011-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M4 - 18 - 4 * SPS))
1011+
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
1012-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
1012+
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
1013
1014-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
1014+
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
1015-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1015+
R09 = R09A & R09B & R09C & R09D
1016-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
1016+
1017-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
1017+
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
1018-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
1018+
R_MS = 0.7
1019-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
1019+
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
1020
1021
If M22 > 0 Then R12 = T_SLOT(38, 13 + 58 + M22 - 4 * SPS, 12, 6.5, 90) Else R12 = ""
1022-
YY1 = 14 + BT + 32 - 4 * SPS
1022+
If M23 > 0 Then R13 = T_SLOT(H - 38, 13 + 58 + M23 - 4 * SPS, 12, 6.5, 90) Else R13 = ""
1023
1024-
R01 = R01 & T_RECT1(-4, 11, L - 98 - 14 - BT + 4 * SPS, L - 98 - 14 - BT + 4 * SPS - 18)
1024+
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
1025-
R01 = R01 & T_BLQ(5, L - 98 - BT - 14 + 4 * SPS, 0, L - 98 - BT - 14 + 4 * SPS + 5, 1, 1)
1025+
1026-
R01 = R01 & T_BLQ(0, L - 98 - 18 - BT - 14 + 4 * SPS - 5, 5, L - 98 - 18 - BT - 14 + 4 * SPS, 1, 1)
1026+
R15 = T_SLOT(13, L - 16.3 - M24, 6.5, 12, 0) & T_SLOT(H - 13, L - 16.3 - M24, 6.5, 12, 0)
1027-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS, 8.5)
1027+
1028-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS + 0.5, 8.5)
1028+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R12 & R13 & R14 & R15
1029-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS - 0.5, 8.5)
1029+
1030
1031-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
1031+
1032-
SPEK = 0
1032+
1033
MVAL = 500
1034
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
1035-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1035+
1036
STRINGA = MIRROR(STRINGA, H, L, 0, SPEK)
1037
1038
Call SAVE_SUB(NND, STRINGA)
1039
1040
POSINTAB = def_posintab(NND)
1041
1042
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1043
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1044
    STR_OUT(2) = TL_CLN
1045
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1046
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1047
    STR_OUT(5) = TL_CUT_O
1048
    STR_OUT(6) = "TOOLANGLE(0)"
1049
    STR_OUT(7) = "MIDCUT(N)"
1050
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
1051
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1052
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1053
    STR_OUT(11) = "'FINE BLOCCO"
1054
1055
'Call CUT_END_S(H, L, "0", POSINTAB)
1056-
Sub S_1025392A(ByVal NND As Integer)
1056+
1057-
ACT_MOD = "1025392"
1057+
1058
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1059
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1060
    STR_OUT(2) = TL_CLN
1061
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1062
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1063
    STR_OUT(5) = TL_CUT_V
1064
    STR_OUT(6) = "TOOLANGLE(90)"
1065
    STR_OUT(7) = "MIDCUT(N)"
1066
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
1067
    STR_OUT(9) = TL_CUT_O
1068
    STR_OUT(10) = "TOOLANGLE(0)"
1069
    STR_OUT(11) = "MIDCUT(N)"
1070
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
1071
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1072
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1073-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1073+
    STR_OUT(15) = "'FINE BLOCCO"
1074-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1074+
1075-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1075+
'Call CUT_END_S(H, L, "C", POSINTAB)
1076-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
1076+
Call FVTPT(3, NND, "C")
1077-
VV = Replace(VV, "P", "")
1077+
1078
1079
End Sub
1080
1081
Sub S_1041431A(ByVal NND As Integer)
1082
ACT_MOD = "1041431"
1083
CLAMP = 0
1084
1085-
Case 1, 2
1085+
1086-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
1086+
1087-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
1087+
1088-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1088+
1089
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
1090-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1090+
1091-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1091+
1092-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 45 - 4 * SPS), 10)
1092+
1093-
'R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
1093+
1094-
'R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
1094+
1095-
R02 = T_CIRC(13, L - (14 + BT + M1 + M3 - M9 - 4 * SPS), 10)
1095+
1096-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + M3 - 4 * SPS), 10)
1096+
1097
M10 = INPUT_NUM(NND, "M10", M10, ACT_MOD)
1098-
If VV = 2 Then
1098+
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
1099-
R03 = T_CIRC(121, L - (14 + BT + M2 - 4 * SPS), 20)       'SERVE IL TONDO Ø20.2
1099+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
1100-
End If
1100+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
1101-
If VV = 1 Then
1101+
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
1102-
R03 = T_RECT2(121, L - (14 + BT + M2 - 4 * SPS), 24, 24)
1102+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
1103-
End If
1103+
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
1104
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
1105-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1105+
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
1106-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
1106+
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
1107-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M4 - 18 - 4 * SPS))
1107+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
1108-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
1108+
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
1109
M22 = INPUT_NUM(NND, "M22", M22, ACT_MOD)
1110-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
1110+
M23 = INPUT_NUM(NND, "M23", M23, ACT_MOD)
1111-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1111+
M24 = INPUT_NUM(NND, "M24", M24, ACT_MOD)
1112-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
1112+
M25 = INPUT_NUM(NND, "M25", M25, ACT_MOD)
1113-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
1113+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1114-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
1114+
ODP = INFO_DAT(NND, 0, 5)
1115-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
1115+
1116
SCS = 6
1117
EN_ASL = 10
1118-
YY1 = 14 + BT + 32 - 4 * SPS
1118+
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
1119-
R01 = R01 & T_RECT1(-4, 11, L - 98 - 14 - BT + 4 * SPS, L - 98 - 14 - BT + 4 * SPS - 18)
1119+
1120-
R01 = R01 & T_BLQ(5, L - 98 - BT - 14 + 4 * SPS, 0, L - 98 - BT - 14 + 4 * SPS + 5, 1, 1)
1120+
1121-
R01 = R01 & T_BLQ(0, L - 98 - 18 - BT - 14 + 4 * SPS - 5, 5, L - 98 - 18 - BT - 14 + 4 * SPS, 1, 1)
1121+
Select Case ver
1122-
           
1122+
1123-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
1123+
AGG = 1
1124-
R05 = T_RECT1(H - M7 - 30, H - M7 - 30 + M6, L - 14 - BT - M8 + 4 * SPS, L - 14 - BT - M8 + 4 * SPS - M5)
1124+
1125-
SPEK = 0
1125+
AGG = 2
1126
Case Else
1127-
Case 3, 4
1127+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1128-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
1128+
1129-
R01 = R01 & T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
1129+
1130-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1130+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
1131
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
1132-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1132+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
1133-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1133+
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
1134-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 45 - 4 * SPS), 10)
1134+
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
1135-
'R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
1135+
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
1136-
'R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
1136+
1137-
R02 = T_CIRC(13, L - (14 + BT + M1 + M3 - M9 - 4 * SPS), 10)
1137+
R01 = R01A & R01B & R01C & R01D & R01E & R01F
1138-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + M3 - 4 * SPS), 10)
1138+
1139
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
1140-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1140+
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
1141-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
1141+
R02 = R02A & R02B
1142-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M4 - 18 - 4 * SPS))
1142+
1143-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
1143+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1144
If M20 > 0 Then R03A = R03A & T_SLOT(M5 + 50 - M20, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1145-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
1145+
R03B = T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1146-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1146+
If M21 > 0 Then R03B = R03B & T_SLOT(M5 + M6 - 50 + M21, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1147-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
1147+
If M16 > 0 Then R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03C = ""
1148-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
1148+
If M25 > 0 Then R03D = T_SLOT(M25, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1149-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
1149+
R03 = R03A & R03B & R03C & R03D
1150-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
1150+
1151
DIM_ASL = 6.5
1152
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1153-
YY1 = 14 + BT + 32 - 4 * SPS
1153+
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1154
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1155-
R01 = R01 & T_RECT1(-4, 11, L - 98 - 14 - BT + 4 * SPS, L - 98 - 14 - BT + 4 * SPS - 18)
1155+
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1156-
R01 = R01 & T_BLQ(5, L - 98 - BT - 14 + 4 * SPS, 0, L - 98 - BT - 14 + 4 * SPS + 5, 1, 1)
1156+
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1157-
R01 = R01 & T_BLQ(0, L - 98 - 18 - BT - 14 + 4 * SPS - 5, 5, L - 98 - 18 - BT - 14 + 4 * SPS, 1, 1)
1157+
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1158-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS, 8.5)
1158+
R04 = R04A & R04B & R04C & R04D & R04E & R04F
1159-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS + 0.5, 8.5)
1159+
1160-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS - 0.5, 8.5)
1160+
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
1161
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
1162-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
1162+
R06 = ""
1163-
R05 = T_RECT1(H - M7 - 30, H - M7 - 30 + M6, L - 14 - BT - M8 + 4 * SPS, L - 14 - BT - M8 + 4 * SPS - M5)
1163+
1164
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
1165
1166-
Case 5, 6
1166+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
1167-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
1167+
1168-
R01 = R01 & T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
1168+
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
1169-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1169+
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
1170
1171-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1171+
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
1172-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1172+
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
1173-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 45 - 4 * SPS), 10)
1173+
1174-
'R01 = R01 & T_CIRC(4, L - (14 + BT + 105 - 4 * SPS), 10)
1174+
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
1175-
'R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 105 + 5 - 4 * SPS), L - (14 + BT + 105 - 5 - 4 * SPS))
1175+
R09 = R09A & R09B & R09C & R09D
1176-
R02 = T_CIRC(13, L - (14 + BT + M1 + M3 - M9 - 4 * SPS), 10)
1176+
1177-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + M3 - 4 * SPS), 10)
1177+
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
1178
R_MS = 0.7
1179-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1179+
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
1180-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
1180+
1181-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + M4 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + M4 - 18 - 4 * SPS))
1181+
If M22 > 0 Then R12 = T_SLOT(38, 13 + 58 + M22 - 4 * SPS, 12, 6.5, 90) Else R12 = ""
1182-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
1182+
If M23 > 0 Then R13 = T_SLOT(H - 38, 13 + 58 + M23 - 4 * SPS, 12, 6.5, 90) Else R13 = ""
1183
1184-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
1184+
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
1185-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1185+
1186-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 + 5 - 4 * SPS), 1, 1)
1186+
R15 = T_SLOT(13, L - 16.3 - M24, 12, 6.5, 0) & T_SLOT(H - 13, L - 16.3 - M24, 12, 6.5, 0)
1187-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 + 5 - 4 * SPS), 1, 1)
1187+
1188-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + M4 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + M4 - 18 - 4 * SPS), 1, 1)
1188+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R12 & R13 & R14 & R15
1189-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
1189+
1190
1191
P1 = 250
1192-
YY1 = 14 + BT + 32 - 4 * SPS
1192+
1193
MVAL = 500
1194-
R01 = R01 & T_RECT1(-4, 11, L - 98 - 14 - BT + 4 * SPS, L - 98 - 14 - BT + 4 * SPS - 18)
1194+
1195-
R01 = R01 & T_BLQ(5, L - 98 - BT - 14 + 4 * SPS, 0, L - 98 - BT - 14 + 4 * SPS + 5, 1, 1)
1195+
1196-
R01 = R01 & T_BLQ(0, L - 98 - 18 - BT - 14 + 4 * SPS - 5, 5, L - 98 - 18 - BT - 14 + 4 * SPS, 1, 1)
1196+
1197-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS, 8.5)
1197+
1198-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS + 0.5, 8.5)
1198+
1199-
R01 = R01 & T_CIRC(19, L - 84 - BT - 14 + 4 * SPS - 0.5, 8.5)
1199+
1200
POSINTAB = def_posintab(NND)
1201-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M4)
1201+
1202-
R05 = T_RECT1(H - M7 - 30, H - M7 - 30 + M6, L - 14 - BT - M8 + 4 * SPS, L - 14 - BT - M8 + 4 * SPS - M5)
1202+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1203-
SPEK = 0
1203+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1204
    STR_OUT(2) = TL_CLN
1205
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1206-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1206+
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1207
    STR_OUT(5) = TL_CUT_O
1208
    STR_OUT(6) = "TOOLANGLE(0)"
1209
    STR_OUT(7) = "MIDCUT(N)"
1210
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
1211
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1212
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1213
    STR_OUT(11) = "'FINE BLOCCO"
1214
1215
'Call CUT_END_S(H, L, "0", POSINTAB)
1216
Call FVTPT(3, NND, "")
1217
1218
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1219
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1220
    STR_OUT(2) = TL_CLN
1221
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1222
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1223
    STR_OUT(5) = TL_CUT_V
1224
    STR_OUT(6) = "TOOLANGLE(90)"
1225
    STR_OUT(7) = "MIDCUT(N)"
1226-
Sub S_1015390A(ByVal NND As Integer)
1226+
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
1227-
ACT_MOD = "1015390"
1227+
    STR_OUT(9) = TL_CUT_O
1228-
CLAMP = 1
1228+
    STR_OUT(10) = "TOOLANGLE(0)"
1229
    STR_OUT(11) = "MIDCUT(N)"
1230
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
1231
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1232
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1233
    STR_OUT(15) = "'FINE BLOCCO"
1234
1235
'Call CUT_END_S(H, L, "C", POSINTAB)
1236
Call FVTPT(3, NND, "C")
1237-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1237+
1238-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1238+
1239-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1239+
1240-
VV = Replace(VV, "H", "")
1240+
1241
1242
Sub S_1041431B(ByVal NND As Integer)
1243
ACT_MOD = "1041431"
1244
CLAMP = 0
1245
1246
L = INPUT_NUM(NND, "L", L, ACT_MOD)
1247-
Case 1, 2
1247+
1248-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
1248+
1249-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
1249+
1250-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1250+
1251
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
1252-
R02 = T_CIRC(46, L - 5, 4.5)
1252+
1253-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 + 102 - 4 * SPS), 10)
1253+
1254-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 + 102 - 18.5 - 4 * SPS), 10)
1254+
1255-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 + 18.5 - 4 * SPS), 10)
1255+
1256-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1256+
1257
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
1258-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 72 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + 72 - 18 - 4 * SPS))
1258+
1259-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
1259+
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
1260-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
1260+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
1261-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1261+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
1262
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
1263-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
1263+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
1264-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 - 4 * SPS) - 5, 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1264+
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
1265-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 - 4 * SPS) - 5, 1, 1)
1265+
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
1266-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
1266+
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
1267-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + 72 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + 72 - 18 - 4 * SPS), 1, 1)
1267+
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
1268-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
1268+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
1269
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
1270-
R02 = R02 & T_CIRC(2, L - 57 - 14 - BT + 4 * SPS, 12)
1270+
M24 = INPUT_NUM(NND, "M24", M24, ACT_MOD)
1271-
R01 = R01 & T_RECT1(-3, 2, L - 57 - 14 - BT + 4 * SPS - 6, L - 57 - 14 - BT + 4 * SPS + 6)
1271+
M25 = INPUT_NUM(NND, "M25", M25, ACT_MOD)
1272
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1273
ODP = INFO_DAT(NND, 0, 5)
1274-
YY1 = 14 + BT + 32 - 4 * SPS
1274+
1275-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - 72)
1275+
1276
EN_ASL = 10
1277
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
1278-
Case 3, 4
1278+
1279-
If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1
1279+
1280-
R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS))
1280+
Select Case ver
1281-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1281+
1282
AGG = 1
1283-
R02 = T_CIRC(46, L - 5, 4.5)
1283+
1284-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 + 102 - 4 * SPS), 10)
1284+
AGG = 2
1285-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 + 102 - 18.5 - 4 * SPS), 10)
1285+
1286-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 + 18.5 - 4 * SPS), 10)
1286+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1287-
R02 = R02 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1287+
1288
1289-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 72 - 18 - 4 * SPS) - 60, L - (14 + BT + 32 + 72 - 18 - 4 * SPS))
1289+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
1290-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 32 + 18 - 4 * SPS), L - (14 + BT + 32 + 18 - 4 * SPS) + 60)
1290+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
1291-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS))
1291+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
1292-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1292+
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
1293
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
1294-
R01 = R01 & T_BLQ(5, L - (14 + BT + LA + 13 - 6 * SPS), 0, L - (14 + BT + LA + 13 - 5 - 6 * SPS), 1, 1)
1294+
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
1295-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 - 4 * SPS) - 5, 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1295+
1296-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 - 4 * SPS) - 5, 1, 1)
1296+
R01 = R01A & R01B & R01C & R01D & R01E & R01F
1297-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 32 + 18 - 4 * SPS), H, L - (14 + BT + 32 + 18 - 4 * SPS) - 5, 1, 1)
1297+
1298-
R01 = R01 & T_BLQ(H, L - (14 + BT + 32 + 72 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 32 + 72 - 18 - 4 * SPS), 1, 1)
1298+
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
1299-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + LA - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + LA - 4 - 4 * SPS), 1, 1)
1299+
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
1300
R02 = R02A & R02B
1301-
R02 = R02 & T_CIRC(2, L - 57 - 14 - BT + 4 * SPS, 12)
1301+
1302-
R01 = R01 & T_RECT1(-3, 2, L - 57 - 14 - BT + 4 * SPS - 6, L - 57 - 14 - BT + 4 * SPS + 6)
1302+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1303
If M20 > 0 Then R03A = R03A & T_SLOT(M5 + 50 - M20, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1304
R03B = T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1305-
YY1 = 14 + BT + 32 - 4 * SPS
1305+
If M21 > 0 Then R03B = R03B & T_SLOT(M5 + M6 - 50 + M21, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1306-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - 72)
1306+
If M16 > 0 Then R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03C = ""
1307-
SPEK = 0
1307+
If M25 > 0 Then R03D = T_SLOT(M25, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1308
R03 = R03A & R03B & R03C & R03D
1309
1310-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1310+
DIM_ASL = 6.5
1311
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1312
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1313
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1314-
fn = R01 & R02 & R04
1314+
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1315
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1316
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1317
R04 = R04A & R04B & R04C & R04D & R04E & R04F
1318
1319
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
1320
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
1321
R06 = ""
1322
1323
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
1324
1325
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
1326
1327
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
1328
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
1329
1330
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
1331-
Sub S_1015353A(ByVal NND As Integer)
1331+
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
1332-
ACT_MOD = "1015353"
1332+
1333-
CLAMP = 1
1333+
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
1334
R09 = R09A & R09B & R09C & R09D
1335
1336
R10 = T_RECT2(17.5, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
1337
R_MS = 0.7
1338
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
1339
1340
'If M22 > 0 Then R12 = T_SLOT(38, 13 + 58 + M22 - 4 * SPS, 12, 6.5, 90) Else R12 = ""
1341
'If M23 > 0 Then R13 = T_SLOT(H - 38, 13 + 58 + M23 - 4 * SPS, 12, 6.5, 90) Else R13 = ""
1342
1343-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1343+
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
1344-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1344+
1345-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1345+
R15 = T_SLOT(13, L - 16.3 - M24, 12, 6.5, 0) & T_SLOT(H - 13, L - 16.3 - M24, 12, 6.5, 0)
1346-
VV = Replace(VV, "H", "")
1346+
1347
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R14 & R15
1348
1349
1350
P1 = 250
1351
P2 = H - 400
1352
MVAL = 500
1353
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
1354-
R01 = T_RECT1(-46, 26, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1354+
1355-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1355+
1356
1357-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1357+
1358-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 4 * SPS), 10)
1358+
1359-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 18.5 - 4 * SPS), 10)
1359+
1360-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 18.5 - 4 * SPS), 10)
1360+
1361-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1361+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1362
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1363-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 91 - 18 - 4 * SPS) - 55, L - (14 + BT + 23 + 91 - 18 - 4 * SPS))
1363+
    STR_OUT(2) = TL_CLN
1364-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 18 - 4 * SPS), L - (14 + BT + 23 + 18 - 4 * SPS) + 40.5)
1364+
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1365
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1366-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1366+
    STR_OUT(5) = TL_CUT_O
1367-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1367+
    STR_OUT(6) = "TOOLANGLE(0)"
1368
    STR_OUT(7) = "MIDCUT(N)"
1369-
R01 = R01 & T_BLQ(5, L - (14 + BT + 145 - 4 - 4 * SPS), 0, L - (14 + BT + 145 - 4 - 4 * SPS) + 5, 1, 1)
1369+
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
1370-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 - 4 * SPS) - 5, 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1370+
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1371-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 - 4 * SPS) - 5, 1, 1)
1371+
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1372-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 23 + 18 - 4 * SPS), H, L - (14 + BT + 23 + 18 - 4 * SPS) - 5, 1, 1)
1372+
    STR_OUT(11) = "'FINE BLOCCO"
1373-
R01 = R01 & T_BLQ(H, L - (14 + BT + 23 + 91 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 23 + 91 - 18 - 4 * SPS), 1, 1)
1373+
1374-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + 145 - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + 145 - 4 - 4 * SPS), 1, 1)
1374+
'Call CUT_END_S(H, L, "0", POSINTAB)
1375
Call FVTPT(3, NND, "")
1376-
YY1 = 14 + BT + 23 - 4 * SPS
1376+
1377-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - 91)
1377+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1378
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1379
    STR_OUT(2) = TL_CLN
1380
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1381
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1382-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1382+
    STR_OUT(5) = TL_CUT_V
1383-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1383+
    STR_OUT(6) = "TOOLANGLE(90)"
1384
    STR_OUT(7) = "MIDCUT(N)"
1385-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1385+
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
1386-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 4 * SPS), 10)
1386+
    STR_OUT(9) = TL_CUT_O
1387-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 18.5 - 4 * SPS), 10)
1387+
    STR_OUT(10) = "TOOLANGLE(0)"
1388-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 18.5 - 4 * SPS), 10)
1388+
    STR_OUT(11) = "MIDCUT(N)"
1389-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1389+
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
1390
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1391-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 91 - 18 - 4 * SPS) - 55, L - (14 + BT + 23 + 91 - 18 - 4 * SPS))
1391+
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1392-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 18 - 4 * SPS), L - (14 + BT + 23 + 18 - 4 * SPS) + 40.5)
1392+
    STR_OUT(15) = "'FINE BLOCCO"
1393
1394-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1394+
'Call CUT_END_S(H, L, "C", POSINTAB)
1395-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1395+
Call FVTPT(3, NND, "C")
1396
1397-
R01 = R01 & T_BLQ(5, L - (14 + BT + 145 - 4 - 4 * SPS), 0, L - (14 + BT + 145 - 4 - 4 * SPS) + 5, 1, 1)
1397+
1398-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 - 4 * SPS) - 5, 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1398+
1399-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 - 4 * SPS) - 5, 1, 1)
1399+
1400-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 23 + 18 - 4 * SPS), H, L - (14 + BT + 23 + 18 - 4 * SPS) - 5, 1, 1)
1400+
1401-
R01 = R01 & T_BLQ(H, L - (14 + BT + 23 + 91 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 23 + 91 - 18 - 4 * SPS), 1, 1)
1401+
Sub S_1041431C(ByVal NND As Integer)
1402-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + 145 - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + 145 - 4 - 4 * SPS), 1, 1)
1402+
ACT_MOD = "1041431"
1403
CLAMP = 0
1404-
YY1 = 14 + BT + 23 - 4 * SPS
1404+
1405-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - 91)
1405+
1406
H = INPUT_NUM(NND, "H", H, ACT_MOD)
1407
SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
1408
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
1409
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
1410
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
1411-
R01 = T_RECT1(-46, 26, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1411+
1412-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1412+
1413
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
1414-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1414+
1415-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 4 * SPS), 10)
1415+
1416-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 18.5 - 4 * SPS), 10)
1416+
1417-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 18.5 - 4 * SPS), 10)
1417+
1418-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1418+
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
1419
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
1420-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 91 - 18 - 4 * SPS) - 55, L - (14 + BT + 23 + 91 - 18 - 4 * SPS))
1420+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
1421-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 18 - 4 * SPS), L - (14 + BT + 23 + 18 - 4 * SPS) + 40.5)
1421+
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
1422
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
1423-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1423+
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
1424-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1424+
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
1425
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
1426-
R01 = R01 & T_BLQ(5, L - (14 + BT + 145 - 4 - 4 * SPS), 0, L - (14 + BT + 145 - 4 - 4 * SPS) + 5, 1, 1)
1426+
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
1427-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 - 4 * SPS) - 5, 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1427+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
1428-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 - 4 * SPS) - 5, 1, 1)
1428+
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
1429-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 23 + 18 - 4 * SPS), H, L - (14 + BT + 23 + 18 - 4 * SPS) - 5, 1, 1)
1429+
M24 = INPUT_NUM(NND, "M24", M24, ACT_MOD)
1430-
R01 = R01 & T_BLQ(H, L - (14 + BT + 23 + 91 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 23 + 91 - 18 - 4 * SPS), 1, 1)
1430+
M25 = INPUT_NUM(NND, "M25", M25, ACT_MOD)
1431-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + 145 - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + 145 - 4 - 4 * SPS), 1, 1)
1431+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1432
ODP = INFO_DAT(NND, 0, 5)
1433-
YY1 = 14 + BT + 23 - 4 * SPS
1433+
1434-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - 91)
1434+
1435-
SPEK = 0
1435+
EN_ASL = 10
1436
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
1437-
Case 4
1437+
1438
1439-
R01 = T_RECT1(-6.6, 26, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1439+
Select Case ver
1440-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1440+
1441-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
1441+
AGG = 1
1442-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 4 * SPS), 10)
1442+
1443-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 102 - 18.5 - 4 * SPS), 10)
1443+
AGG = 2
1444-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 + 18.5 - 4 * SPS), 10)
1444+
1445-
R01 = R01 & T_CIRC(13, L - (14 + BT + M1 - 4 * SPS), 10)
1445+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1446
End Select
1447-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 91 - 18 - 4 * SPS) - 55, L - (14 + BT + 23 + 91 - 18 - 4 * SPS))
1447+
1448-
R01 = R01 & T_RECT1(H - 10, H + 1, L - (14 + BT + 23 + 18 - 4 * SPS), L - (14 + BT + 23 + 18 - 4 * SPS) + 40.5)
1448+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
1449
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
1450-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + 145 - 4 - 4 * SPS))
1450+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
1451-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS)
1451+
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
1452
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
1453-
R01 = R01 & T_BLQ(5, L - (14 + BT + 145 - 4 - 4 * SPS), 0, L - (14 + BT + 145 - 4 - 4 * SPS) + 5, 1, 1)
1453+
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
1454-
R01 = R01 & T_BLQ(0, L - (14 + BT + 4 - 4 * SPS) - 5, 5, L - (14 + BT + 4 - 4 * SPS), 1, 1)
1454+
1455-
R01 = R01 & T_BLQ(H - 15, L - (14 + BT + 4 - 4 * SPS), H - 10, L - (14 + BT + 4 - 4 * SPS) - 5, 1, 1)
1455+
R01 = R01A & R01B & R01C & R01D & R01E & R01F
1456-
R01 = R01 & T_BLQ(H - 5, L - (14 + BT + 23 + 18 - 4 * SPS), H, L - (14 + BT + 23 + 18 - 4 * SPS) - 5, 1, 1)
1456+
1457-
R01 = R01 & T_BLQ(H, L - (14 + BT + 23 + 91 - 18 - 5 - 4 * SPS), H - 5, L - (14 + BT + 23 + 91 - 18 - 4 * SPS), 1, 1)
1457+
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
1458-
R01 = R01 & T_BLQ(H - 10, L - (14 + BT + 145 - 4 - 5 - 4 * SPS), H - 15, L - (14 + BT + 145 - 4 - 4 * SPS), 1, 1)
1458+
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
1459
R02 = R02A & R02B
1460-
YY1 = 14 + BT + 23 - 4 * SPS
1460+
1461-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - 91)
1461+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1462-
SPEK = 0
1462+
If M20 > 0 Then R03A = R03A & T_SLOT(M5 + 50 - M20, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1463
R03B = T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1464
If M21 > 0 Then R03B = R03B & T_SLOT(M5 + M6 - 50 + M21, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1465-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1465+
If M16 > 0 Then R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03C = ""
1466
If M25 > 0 Then R03D = T_SLOT(M25, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1467
R03 = R03A & R03B & R03C & R03D
1468-
fn = R01 & R04
1468+
1469
DIM_ASL = 6.5
1470
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1471
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1472
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1473
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1474
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1475
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1476
R04 = R04A & R04B & R04C & R04D & R04E & R04F
1477
1478
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
1479
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
1480
R06 = ""
1481
1482
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
1483
1484-
Sub S_10130960(ByVal NND As Integer)
1484+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
1485-
ACT_MOD = "1013096"
1485+
1486-
CLAMP = 1
1486+
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
1487
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
1488
1489
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
1490
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
1491
1492
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
1493
R09 = R09A & R09B & R09C & R09D
1494
1495
R10 = T_RECT2(8, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
1496-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1496+
R_MS = 0.7
1497-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1497+
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
1498-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1498+
1499-
VV = Replace(VV, "P", "")
1499+
'If M22 > 0 Then R12 = T_SLOT(38, 13 + 58 + M22 - 4 * SPS, 12, 6.5, 90) Else R12 = ""
1500
'If M23 > 0 Then R13 = T_SLOT(H - 38, 13 + 58 + M23 - 4 * SPS, 12, 6.5, 90) Else R13 = ""
1501
1502
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
1503
1504-
FAI = 14 + 17 + -3 * SPS         'VALORE INTERNO PIEGA FRONTALE INFERIORE
1504+
R15 = T_SLOT(13, L - 16.3 - M24, 12, 6.5, 0) & T_SLOT(H - 13, L - 16.3 - M24, 12, 6.5, 0)
1505-
FAS = L - (14 + BT - 3 * SPS)    'VALORE INTERNO PIEGA FRONTALE SUPERIORE
1505+
1506
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R14 & R15
1507-
SM = 4
1507+
1508-
AA = 45 / 57.29577957
1508+
1509-
DD = Round(Sin(AA) * SM, 3)
1509+
1510
P2 = H - 400
1511-
SCINF = FAI + 4 - SPS
1511+
1512-
SCSUP = FAS - 4 + SPS
1512+
1513
SPEK = 1
1514-
R01 = T_CIRC(50.5, L - 5, 4.5)
1514+
1515
1516-
'SMUSSI
1516+
1517-
R01 = R01 & T_BLQ(0, SCSUP - DD, DD, SCSUP, 1, 1)
1517+
1518-
R01 = R01 & T_BLQ(H - DD, SCSUP, H, SCSUP - DD, 1, 1)
1518+
1519-
R01 = R01 & T_BLQ(H, SCINF + DD, H - DD, SCINF, 1, 1)
1519+
1520-
R01 = R01 & T_BLQ(DD, 14, 0, 14 + DD, 1, 1)
1520+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1521
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1522
    STR_OUT(2) = TL_CLN
1523-
R02 = T_RECT1(H - 20, H + SCS, -SCS, SCINF)
1523+
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1524-
R02 = R02 & T_RECT1(H - 20, H + SCS, SCSUP, L + SCS)
1524+
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1525-
R02 = R02 & T_RECT1(-SCS, 30.5, SCSUP, L + SCS)
1525+
    STR_OUT(5) = TL_CUT_O
1526-
R02 = R02 & T_RECT1(-SCS, 30.5, -SCS, 14) 'basso destra nel disegno
1526+
    STR_OUT(6) = "TOOLANGLE(0)"
1527
    STR_OUT(7) = "MIDCUT(N)"
1528-
DD10 = 10
1528+
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
1529-
R03 = T_RECT1(-1, 4, FAS - 105 + SPS + DD10 / 2, FAS - 105 + SPS - DD10 / 2)
1529+
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1530-
R03 = R03 & T_CIRC(17, FAS - M4 + SPS, DD10)
1530+
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1531-
R03 = R03 & T_CIRC(17, FAS - M4 - 45 + SPS, DD10)
1531+
    STR_OUT(11) = "'FINE BLOCCO"
1532-
R03 = R03 & T_CIRC(4, FAS - 105 + SPS, DD10)
1532+
1533-
If LA >= 216 Then R04 = T_CIRC(17, FAS - M4 - M1 + 45 + SPS, DD10) Else R04 = ""
1533+
'Call CUT_END_S(H, L, "0", POSINTAB)
1534-
R03 = R03 & T_CIRC(17, FAS - M4 - M1 + SPS, DD10)
1534+
1535
1536-
YY1 = FAS - 32 + SPS
1536+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1537-
R05 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1537+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1538
    STR_OUT(2) = TL_CLN
1539
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1540
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1541-
R09 = T_CIRC(125, FAS - M2 + SPS, 20) & T_CIRC(125 + 55, FAS - M2 + SPS, 20) & T_CIRC(125 - 30, FAS - M2 + SPS, 6.5)
1541+
    STR_OUT(5) = TL_CUT_V
1542
    STR_OUT(6) = "TOOLANGLE(90)"
1543
    STR_OUT(7) = "MIDCUT(N)"
1544
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
1545
    STR_OUT(9) = TL_CUT_O
1546
    STR_OUT(10) = "TOOLANGLE(0)"
1547
    STR_OUT(11) = "MIDCUT(N)"
1548
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
1549
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1550
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1551
    STR_OUT(15) = "'FINE BLOCCO"
1552
1553
'Call CUT_END_S(H, L, "C", POSINTAB)
1554
Call FVTPT(3, NND, "C")
1555
1556
1557
End Sub
1558
1559
Sub S_1041431D(ByVal NND As Integer)
1560
ACT_MOD = "1041431"
1561
CLAMP = 0
1562-
Sub S_10128290(ByVal NND As Integer)
1562+
1563-
ACT_MOD = "1012829"
1563+
1564-
CLAMP = 1
1564+
1565
SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
1566
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
1567
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
1568
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
1569
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
1570
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
1571
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
1572
M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
1573
M8 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
1574
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
1575-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1575+
1576-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1576+
M11 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
1577-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1577+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
1578-
VV = Replace(VV, "P", "")
1578+
M13 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
1579
M14 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
1580
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
1581
M16 = INPUT_NUM(NND, "M16", M16, ACT_MOD)
1582-
FAI = 14 + 17 + -3 * SPS         'VALORE INTERNO PIEGA FRONTALE INFERIORE
1582+
M17 = INPUT_NUM(NND, "M17", M17, ACT_MOD)
1583-
FAS = L - (14 + BT - 3 * SPS)    'VALORE INTERNO PIEGA FRONTALE SUPERIORE
1583+
M18 = INPUT_NUM(NND, "M18", M18, ACT_MOD)
1584
M19 = INPUT_NUM(NND, "M19", M19, ACT_MOD)
1585-
SM = 4
1585+
M20 = INPUT_NUM(NND, "M20", M20, ACT_MOD)
1586-
AA = 45 / 57.29577957
1586+
M21 = INPUT_NUM(NND, "M21", M21, ACT_MOD)
1587-
DD = Round(Sin(AA) * SM, 3)
1587+
M24 = INPUT_NUM(NND, "M24", M24, ACT_MOD)
1588
M25 = INPUT_NUM(NND, "M25", M25, ACT_MOD)
1589-
SCINF = FAI + 4 - SPS
1589+
M26 = INPUT_NUM(NND, "M26", M26, ACT_MOD)
1590-
SCSUP = FAS - 4 + SPS
1590+
M27 = INPUT_NUM(NND, "M27", M27, ACT_MOD)
1591
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1592
ODP = INFO_DAT(NND, 0, 5)
1593
1594-
Case 1, 2
1594+
1595-
R01 = T_CIRC(50.5, L - 5, 4.5)
1595+
EN_ASL = 10
1596-
R01 = R01 & T_BLQ(0, SCSUP - DD, DD, SCSUP, 1, 1)
1596+
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU " & ACT_MOD)
1597-
R01 = R01 & T_BLQ(H - DD, SCSUP, H, SCSUP - DD, 1, 1)
1597+
1598-
R01 = R01 & T_BLQ(H, SCINF + DD, H - DD, SCINF, 1, 1)
1598+
1599-
R01 = R01 & T_BLQ(DD, 14, 0, 14 + DD, 1, 1)
1599+
Select Case ver
1600
Case 1
1601
AGG = 1
1602-
R01 = R01 & T_RECT1(H - 20, H + SCS, -SCS, SCINF)
1602+
1603-
R01 = R01 & T_RECT1(H - 20, H + SCS, SCSUP, L + SCS)
1603+
AGG = 2
1604-
R01 = R01 & T_RECT1(-SCS, 30.5, SCSUP, L + SCS)
1604+
1605-
PR01 = R01 & T_RECT1(-SCS, 30.5, -SCS, 14) 'basso destra nel disegno
1605+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1606
End Select
1607-
DD10 = 10
1607+
1608-
R01 = R01 & T_RECT1(-1, 4, FAS - 158 + SPS + DD10 / 2, FAS - 158 + SPS - DD10 / 2)
1608+
R01A = T_HEX(M8, 13 + 58 - 17.5 - 2 * SPS, 11)
1609-
R01 = R01 & T_CIRC(17, FAS - M4 + SPS, DD10)
1609+
R01B = T_HEX(H - M10, 13 + 58 - 17.5 - 2 * SPS, 11)
1610-
R01 = R01 & T_CIRC(17, FAS - M4 - M2 + SPS, DD10)
1610+
If M9 > 0 Then R01C = T_HEX(M9, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01C = ""
1611-
R01 = R01 & T_CIRC(4, FAS - 158 + SPS, DD10)
1611+
If M11 > 0 Then R01D = T_HEX(H - M11, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01D = ""
1612-
If LA >= 216 Then R02 = T_CIRC(17, FAS - M4 - M1 + M2 + SPS, DD10) Else R02 = ""
1612+
If M13 > 0 Then R01E = T_HEX(M13, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01E = ""
1613-
R01 = R01 & T_CIRC(17, FAS - M4 - M1 + SPS, DD10)
1613+
If M14 > 0 Then R01F = T_HEX(H - M14, 13 + 58 - 17.5 - 2 * SPS, 11) Else R01F = ""
1614
1615
R01 = R01A & R01B & R01C & R01D & R01E & R01F
1616-
YY1 = FAS - 32 + SPS
1616+
1617-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1617+
R02A = T_SLOT(13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 - 4 * SPS, 16, EN_ASL, 90)
1618
If M7 > 0 Then R02B = T_SLOT(13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(H - 13, 13 + 58 + 50 + M7 - 4 * SPS, 16, EN_ASL, 90) Else R02B = ""
1619
R02 = R02A & R02B
1620-
R03 = T_CIRC(125, FAS - M5 + SPS, 20)                                               'foro emergenza tondo
1620+
1621-
R03 = R03 & T_CIRC(125 + 55, FAS - M5 + SPS, 20)                                          'foro emergenza tondo
1621+
R03A = T_SLOT(M15, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1622-
R03 = R03 & T_CIRC(125 - 30, FAS - M5 + SPS, 6.5)                                          'foro emergenza tondo
1622+
If M20 > 0 Then R03A = R03A & T_SLOT(M5 + 50 - M20, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1623-
SPEK = 0
1623+
R03B = T_SLOT(M5 + M6 - 50, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) & T_SLOT(M5 + M6 / 2, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1624
If M21 > 0 Then R03B = R03B & T_SLOT(M5 + M6 - 50 + M21, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1625-
Case 3, 4
1625+
If M16 > 0 Then R03C = T_SLOT(H - M16, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90) Else R03C = ""
1626-
R01 = T_CIRC(50.5, L - 5, 4.5)
1626+
If M25 > 0 Then R03D = T_SLOT(M25, 13 + 58 + M19 - 4 * SPS, 16, EN_ASL, 90)
1627-
R01 = R01 & T_BLQ(0, SCSUP - DD, DD, SCSUP, 1, 1)
1627+
R03 = R03A & R03B & R03C & R03D
1628-
R01 = R01 & T_BLQ(H - DD, SCSUP, H, SCSUP - DD, 1, 1)
1628+
1629-
R01 = R01 & T_BLQ(H, SCINF + DD, H - DD, SCINF, 1, 1)
1629+
DIM_ASL = 6.5
1630-
R01 = R01 & T_BLQ(DD, 14, 0, 14 + DD, 1, 1)
1630+
R04A = T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1631
R04B = T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1632
R04C = T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 2, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1633-
R01 = R01 & T_RECT1(H - 20, H + SCS, -SCS, SCINF)
1633+
R04D = T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 3, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1634-
R01 = R01 & T_RECT1(H - 20, H + SCS, SCSUP, L + SCS)
1634+
R04E = T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 4, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1635-
R01 = R01 & T_RECT1(-SCS, 30.5, SCSUP, L + SCS)
1635+
R04F = T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS, 12, DIM_ASL, 0) & T_SLOT(240 + M18 * 5, 13 + 58 + M19 + 65 - 4 * SPS + 10, 12, DIM_ASL, 0)
1636-
PR01 = R01 & T_RECT1(-SCS, 30.5, -SCS, 14) 'basso destra nel disegno
1636+
R04 = R04A & R04B & R04C & R04D & R04E & R04F
1637
1638-
DD10 = 10
1638+
R05 = T_RECT1(M5 - 70, M5 + 70, L - 20, L + 6) & T_RECT1(M5 + M6 - 70, M5 + M6 + 70, L - 20, L + 6)
1639-
R01 = R01 & T_RECT1(-1, 4, FAS - 158 + SPS + DD10 / 2, FAS - 158 + SPS - DD10 / 2)
1639+
'R06 = T_RECT1(-6, M3, -6, 23) & T_RECT1(M3 + M2, M3 + M2 + M4 + 6, -6, 23)
1640-
R01 = R01 & T_CIRC(17, FAS - M4 + SPS, DD10)
1640+
R06 = ""
1641-
R01 = R01 & T_CIRC(17, FAS - M4 - M2 + SPS, DD10)
1641+
1642-
R01 = R01 & T_CIRC(4, FAS - 158 + SPS, DD10)
1642+
R07 = T_SLOT(M3 - 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90) & T_SLOT(M3 + M2 + 1, 23 + (13.6 - 2) / 2, 15.6, 2, 90)
1643-
If LA >= 216 Then R02 = T_CIRC(17, FAS - M4 - M1 + M2 + SPS, DD10) Else R02 = ""
1643+
1644-
R01 = R01 & T_CIRC(17, FAS - M4 - M1 + SPS, DD10)
1644+
R08 = T_RECT1(-6, 20, L - 20, L + 6) & T_RECT1(H - 20, H + 6, L - 20, L + 6)
1645
1646
R09A = T_SMUS(20 - 5.25, L - 20) & T_SMUS(0, L - 20 - 20 + 5.25) & T_SMUS(5, L - 20 - 20 + 5.25 + 5) & T_SMUS(10, L - 20 - 20 + 5.25 + 10)
1647-
YY1 = FAS - 32 + SPS
1647+
R09B = T_SMUS(H - (20 - 5.25), L - 20) & T_SMUS(H, L - 20 - 20 + 5.25) & T_SMUS(H - 5, L - 20 - 20 + 5.25 + 5) & T_SMUS(H - 10, L - 20 - 20 + 5.25 + 10)
1648-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1648+
1649
R09C = T_SMUS(5 - 5, L - 20 - 20 + 5.25 + 5 + 5) & T_SMUS(10 - 5, L - 20 - 20 + 5.25 + 10 + 5)
1650
R09D = T_SMUS(H - 10 + 5, L - 20 - 20 + 5.25 + 10 + 5) & T_SMUS(H - 5 + 5, L - 20 - 20 + 5.25 + 5 + 5)
1651-
R03 = T_CIRC(125, FAS - M5 + SPS, 20)                                               'foro emergenza tondo
1651+
1652-
R03 = R03 & T_CIRC(125 + 55, FAS - M5 + SPS, 20)                                          'foro emergenza tondo
1652+
'R09C = T_CIRC(0, L - 20, 10.5) & T_CIRC(H, L - 20, 10.5)
1653-
R03 = R03 & T_CIRC(125 - 30, FAS - M5 + SPS, 6.5)                                          'foro emergenza tondo
1653+
R09 = R09A & R09B & R09C & R09D
1654
1655
R10 = T_RECT2(8, 13 + 58 - 17.5 - 2.4, 6.8, 6.8)
1656
R_MS = 0.7
1657-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1657+
R11 = T_SMUS(-R_MS, 23 - R_MS) & T_SMUS(M3 - R_MS, -R_MS) & T_SMUS(M3 + M2 + R_MS, -R_MS) & T_SMUS(H + R_MS, 23 - R_MS)
1658
1659
If M26 > 0 Then R12 = T_SLOT(38, 13 + 58 + M26 - 4 * SPS, 12, 6.5, 90) Else R12 = ""
1660
If M27 > 0 Then R13 = T_SLOT(H - 38, 13 + 58 + M27 - 4 * SPS, 12, 6.5, 90) Else R13 = ""
1661
1662
R14 = T_DATAMATRIX(ODP, H - 10 - 18.5, L - 46.3 - 45, "V")
1663
1664
R15 = T_SLOT(13, L - 16.3 - M24, 12, 6.5, 0) & T_SLOT(H - 13, L - 16.3 - M24, 12, 6.5, 0)
1665
1666
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R14 & R15 & R12 & R13
1667
1668
1669
P1 = 250
1670
P2 = H - 400
1671
MVAL = 500
1672
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
1673
SPEK = 1
1674
STRINGA = MIRROR(STRINGA, H, L, 0, SPEK)
1675
1676
Call SAVE_SUB(NND, STRINGA)
1677
1678
POSINTAB = def_posintab(NND)
1679-
Sub S_1006711A(ByVal NND As Integer)
1679+
1680-
ACT_MOD = "1006711"
1680+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1681-
CLAMP = 1
1681+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1682
    STR_OUT(2) = TL_CLN
1683
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1684
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1685
    STR_OUT(5) = TL_CUT_O
1686
    STR_OUT(6) = "TOOLANGLE(0)"
1687
    STR_OUT(7) = "MIDCUT(N)"
1688
    STR_OUT(8) = UnloadOutline(110, 6, 230, -6, H, L)
1689
    STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1690
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1691-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1691+
    STR_OUT(11) = "'FINE BLOCCO"
1692-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1692+
1693-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1693+
'Call CUT_END_S(H, L, "0", POSINTAB)
1694-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
1694+
1695-
VV = Replace(VV, "P", "")
1695+
1696
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
1697
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
1698
    STR_OUT(2) = TL_CLN
1699-
DD10 = 10
1699+
    STR_OUT(3) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M3) & "," & Jcdf(L - 23 + 50) & ",-6,0,0,M0))"
1700-
SCSUP = M1 + 10.7
1700+
    STR_OUT(4) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(M3 + M2) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H) & "," & Jcdf(L - 23 + 50) & ",0,-6,0,M0))"
1701-
SCFOR = M1 + 45.7
1701+
    STR_OUT(5) = TL_CUT_V
1702-
SCINF = M1 + 63.7
1702+
    STR_OUT(6) = "TOOLANGLE(90)"
1703-
CENT = (H - 26 - 30) / 2
1703+
    STR_OUT(7) = "MIDCUT(N)"
1704
    STR_OUT(8) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(L) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))"
1705
    STR_OUT(9) = TL_CUT_O
1706-
Case 1, 3
1706+
    STR_OUT(10) = "TOOLANGLE(0)"
1707
    STR_OUT(11) = "MIDCUT(N)"
1708-
R01 = T_RECT1(-46, 26, -SCS, 99.3)
1708+
    STR_OUT(12) = UnloadOutline(110, 6, 230, -6, H, L)
1709-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
1709+
    STR_OUT(13) = "PUN(LIN" & CNLV_GEO & "(P," & 230 & "," & -LUTH & ",0," & -LUTH & ",-6,-6,0,M0))"
1710
    STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & ",230," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
1711-
R02 = T_CIRC(46, L - 7, 4.5)
1711+
    STR_OUT(15) = "'FINE BLOCCO"
1712-
R02 = R02 & T_CIRC(13, L - SCFOR, DD10)
1712+
1713-
R02 = R02 & T_CIRC(13, L - SCFOR - 45, DD10)
1713+
'Call CUT_END_S(H, L, "C", POSINTAB)
1714-
R02 = R02 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
1714+
Call FVTPT(3, NND, "C")
1715-
R02 = R02 & T_CIRC(13, L - SCFOR - M2, DD10)
1715+
1716-
R02 = R02 & T_CIRC(36, 78.5, 5)
1716+
1717-
R02 = R02 & T_CIRC(36 + M4, 78.5, 5)
1717+
1718-
R02 = R02 & T_CIRC(26 + CENT, 78.5, 5)
1718+
1719-
R02 = R02 & T_CIRC(H - 40 - M4, 78.5, 5)
1719+
Sub S_1036714A(ByVal NND As Integer)
1720-
R02 = R02 & T_CIRC(H - 40, 78.5, 5)
1720+
ACT_MOD = "1036714"
1721-
R01 = R01 & T_RECT1(36 - 2.5, 36 + 2.5, 40.5 - 5, 40.5 + 5)
1721+
1722-
R01 = R01 & T_RECT1(36 + M4 - 2.5, 36 + M4 + 2.5, 40.5 - 5, 40.5 + 5)
1722+
1723-
R01 = R01 & T_RECT1(26 + CENT - 2.5, 26 + CENT + 2.5, 40.5 - 5, 40.5 + 5)
1723+
1724-
R01 = R01 & T_RECT1(H - 40 - M4 - 2.5, H - 40 - M4 + 2.5, 40.5 - 5, 40.5 + 5)
1724+
1725-
R01 = R01 & T_RECT1(H - 40 - 2.5, H - 40 + 2.5, 40.5 - 5, 40.5 + 5)
1725+
1726
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
1727-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
1727+
1728-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
1728+
1729-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
1729+
1730-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, 99.3)
1730+
1731
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
1732-
R01 = R01 & T_BLQ(5, 99.3, 0, 99.3 + 5, 1, 1)
1732+
1733-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
1733+
1734-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
1734+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1735-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
1735+
1736-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
1736+
1737-
R01 = R01 & T_BLQ(H - 10, 99.3 + 5, H - 15, 99.3, 1, 1)
1737+
EN_ASL = 10
1738
Select Case ver
1739
Case 1
1740-
YY1 = 45.7 + M1
1740+
AGG = 1
1741-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1741+
1742-
SPEK = 0
1742+
AGG = 2
1743
Case Else
1744-
Case 2, 4
1744+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1745
End Select
1746-
R01 = T_RECT1(-46, 26, -SCS, 99.3)
1746+
1747-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
1747+
R01 = T_HEX(M2, L / 2, 11) & T_HEX(H - M4, L / 2, 11)
1748
If M7 > 0 Then R01 = R01 & T_HEX(M7, L / 2, 11)
1749-
R02 = T_CIRC(46, L - 7, 4.5)
1749+
If M1 > 0 Then R01 = R01 & T_HEX(M1, L / 2, 11)
1750-
R02 = R02 & T_CIRC(13, L - SCFOR, DD10)
1750+
If M8 > 0 Then R01 = R01 & T_HEX(H - M8, L / 2, 11)
1751-
R02 = R02 & T_CIRC(13, L - SCFOR - 45, DD10)
1751+
If M3 > 0 Then R01 = R01 & T_HEX(H - M3, L / 2, 11)
1752-
R02 = R02 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
1752+
1753-
R02 = R02 & T_CIRC(13, L - SCFOR - M2, DD10)
1753+
1754-
R02 = R02 & T_CIRC(36, 78.5, 5)
1754+
1755-
R02 = R02 & T_CIRC(36 + M4, 78.5, 5)
1755+
R_MS = 1
1756-
R02 = R02 & T_CIRC(26 + CENT, 78.5, 5)
1756+
R02 = T_SMUS(-R_MS, -R_MS) & T_SMUS(-R_MS, L + R_MS) & T_SMUS(H + R_MS, L + R_MS) & T_SMUS(H + R_MS, -R_MS)
1757-
R02 = R02 & T_CIRC(H - 40 - M4, 78.5, 5)
1757+
'R03 = T_SMUS(M5 + 105 / 2, -0.75) & T_SMUS(M5 - 105 / 2, L + 0.75) & T_SMUS(M5 + M6 + 105 / 2, -0.75) & T_SMUS(M5 + M6 - 105 / 2, L + 0.75)
1758-
R02 = R02 & T_CIRC(H - 40, 78.5, 5)
1758+
R03A = T_CIRC(M5 + 105 / 2, 0, 4.2) & T_CIRC(M5 - 105 / 2, 0, 4.2) & T_CIRC(M5 + M6 + 105 / 2, 0, 4.2) & T_CIRC(M5 + M6 - 105 / 2, 0, 4.2)
1759
R03B = T_CIRC(M5 + 105 / 2, L, 4.2) & T_CIRC(M5 - 105 / 2, L, 4.2) & T_CIRC(M5 + M6 + 105 / 2, L, 4.2) & T_CIRC(M5 + M6 - 105 / 2, L, 4.2)
1760-
R01 = R01 & T_RECT1(36 - 2.5, 36 + 2.5, 40.5 - 5, 40.5 + 5)
1760+
R03 = R03A & R03B
1761-
R01 = R01 & T_RECT1(36 + M4 - 2.5, 36 + M4 + 2.5, 40.5 - 5, 40.5 + 5)
1761+
R04 = T_CIRC(0, L - 17, 4.2)
1762-
R01 = R01 & T_RECT1(26 + CENT - 2.5, 26 + CENT + 2.5, 40.5 - 5, 40.5 + 5)
1762+
1763-
R01 = R01 & T_RECT1(H - 40 - M4 - 2.5, H - 40 - M4 + 2.5, 40.5 - 5, 40.5 + 5)
1763+
1764-
R01 = R01 & T_RECT1(H - 40 - 2.5, H - 40 + 2.5, 40.5 - 5, 40.5 + 5)
1764+
1765
P1 = 250
1766-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
1766+
1767-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
1767+
1768-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
1768+
1769-
R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, 99.3)
1769+
1770
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
1771-
R01 = R01 & T_BLQ(5, 99.3, 0, 99.3 + 5, 1, 1)
1771+
1772-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
1772+
1773-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
1773+
1774-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
1774+
1775-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
1775+
1776-
R01 = R01 & T_BLQ(H - 10, 99.3 + 5, H - 15, 99.3, 1, 1)
1776+
1777
Call CUT_END_S(H, L, "C", POSINTAB)
1778
Call FVTPT(3, NND, "C")
1779-
YY1 = 45.7 + M1
1779+
1780-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1780+
1781
1782
Sub S_10428730(ByVal NND As Integer)
1783
ACT_MOD = "1042873"
1784
CLAMP = 0
1785-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1785+
1786
L = INPUT_NUM(NND, "L", L, ACT_MOD)
1787
H = INPUT_NUM(NND, "H", H, ACT_MOD)
1788
SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
1789
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
1790
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
1791
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
1792
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
1793
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
1794
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
1795
M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
1796
M8 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
1797
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1798
1799
SCS = 6
1800
EN_ASL = 10
1801
Select Case ver
1802
Case 1
1803
AGG = 1
1804
Case 2
1805-
Sub S_1006707A(ByVal NND As Integer)
1805+
AGG = 2
1806-
ACT_MOD = "1006707"
1806+
1807-
CLAMP = 1
1807+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1808
End Select
1809
1810
R01 = T_HEX(M2, L / 2, 11) & T_HEX(H - M4, L / 2, 11)
1811
If M7 > 0 Then R01 = R01 & T_HEX(M7, L / 2, 11)
1812
If M1 > 0 Then R01 = R01 & T_HEX(M1, L / 2, 11)
1813
If M8 > 0 Then R01 = R01 & T_HEX(H - M8, L / 2, 11)
1814
If M3 > 0 Then R01 = R01 & T_HEX(H - M3, L / 2, 11)
1815
1816-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1816+
1817-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1817+
1818-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1818+
R_MS = 1
1819-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
1819+
R02 = T_SMUS(-R_MS, -R_MS) & T_SMUS(-R_MS, L + R_MS) & T_SMUS(H + R_MS, L + R_MS) & T_SMUS(H + R_MS, -R_MS)
1820-
VV = Replace(VV, "P", "")
1820+
'R03 = T_SMUS(M5 + 105 / 2, -0.75) & T_SMUS(M5 - 105 / 2, L + 0.75) & T_SMUS(M5 + M6 + 105 / 2, -0.75) & T_SMUS(M5 + M6 - 105 / 2, L + 0.75)
1821
R03A = T_CIRC(M5 + 105 / 2, 0, 4.2) & T_CIRC(M5 - 105 / 2, 0, 4.2) & T_CIRC(M5 + M6 + 105 / 2, 0, 4.2) & T_CIRC(M5 + M6 - 105 / 2, 0, 4.2)
1822
R03B = T_CIRC(M5 + 105 / 2, L, 4.2) & T_CIRC(M5 - 105 / 2, L, 4.2) & T_CIRC(M5 + M6 + 105 / 2, L, 4.2) & T_CIRC(M5 + M6 - 105 / 2, L, 4.2)
1823
R03 = R03A & R03B
1824-
DD10 = 10
1824+
R04 = T_CIRC(0, L - 17, 4.2)
1825-
SCSUP = M1 + 14.3
1825+
1826-
SCFOR = M1 + 46.8
1826+
1827-
SCINF = M1 + 63.3
1827+
1828-
CENT = (H - 26 - 30) / 2
1828+
1829
P2 = H - 400
1830
MVAL = 500
1831-
Case 1, 3
1831+
1832
1833-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 37)
1833+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
1834-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
1834+
1835-
R02 = T_CIRC(46, L - 7, 4.5)
1835+
1836-
R02 = R02 & T_CIRC(13, L - SCFOR, DD10)
1836+
1837-
R02 = R02 & T_CIRC(13, L - SCFOR - 45, DD10)
1837+
1838-
R02 = R02 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
1838+
1839-
R02 = R02 & T_CIRC(13, L - SCFOR - M2, DD10)
1839+
1840
Call CUT_END_S(H, L, "B", POSINTAB)
1841-
R02 = R02 & T_CIRC(36, 18, 5)
1841+
1842-
R02 = R02 & T_CIRC(36 + M4, 18, 5)
1842+
Call CUT_END_S(H, L, "C", POSINTAB)
1843-
R02 = R02 & T_CIRC(26 + CENT, 18, 5)
1843+
Call FVTPT(3, NND, "C")
1844-
R02 = R02 & T_CIRC(H - 40 - M4, 18, 5)
1844+
1845-
R02 = R02 & T_CIRC(H - 40, 18, 5)
1845+
1846
1847-
R02 = R02 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
1847+
1848-
R02 = R02 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
1848+
Sub S_1042873A(ByVal NND As Integer)
1849-
R02 = R02 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
1849+
ACT_MOD = "1042873"
1850-
R02 = R02 & T_RECT1(H - 30, H + 2.6, -SCS, 37)
1850+
1851
1852-
R01 = R01 & T_BLQ(5, 37, 0, 37 + 5, 1, 1)
1852+
1853-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
1853+
1854-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
1854+
1855-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
1855+
1856-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
1856+
1857-
R01 = R01 & T_BLQ(H - 10, 37 + 5, H - 15, 37, 1, 1)
1857+
1858
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
1859
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
1860-
YY1 = 45.3 + M1
1860+
1861-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1861+
1862-
SPEK = 0
1862+
1863
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
1864-
Case 2, 4
1864+
1865
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1866-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 37)
1866+
1867-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
1867+
1868-
R02 = T_CIRC(46, L - 7, 4.5)
1868+
EN_ASL = 10
1869-
R02 = R02 & T_CIRC(13, L - SCFOR, DD10)
1869+
Select Case ver
1870-
R02 = R02 & T_CIRC(13, L - SCFOR - 45, DD10)
1870+
1871-
R02 = R02 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
1871+
AGG = 1
1872-
R02 = R02 & T_CIRC(13, L - SCFOR - M2, DD10)
1872+
1873-
R02 = R02 & T_CIRC(36, 18, 5)
1873+
AGG = 2
1874-
R02 = R02 & T_CIRC(36 + M4, 18, 5)
1874+
1875-
R02 = R02 & T_CIRC(26 + CENT, 18, 5)
1875+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1876-
R02 = R02 & T_CIRC(H - 40 - M4, 18, 5)
1876+
1877-
R02 = R02 & T_CIRC(H - 40, 18, 5)
1877+
1878
R01 = T_HEX(M2, L / 2, 11) & T_HEX(H - M4, L / 2, 11)
1879-
R02 = R02 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
1879+
If M7 > 0 Then R01 = R01 & T_HEX(M7, L / 2, 11)
1880-
R02 = R02 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
1880+
If M1 > 0 Then R01 = R01 & T_HEX(M1, L / 2, 11)
1881-
R02 = R02 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
1881+
If M8 > 0 Then R01 = R01 & T_HEX(H - M8, L / 2, 11)
1882-
R02 = R02 & T_RECT1(H - 30, H + 2.6, -SCS, 37)
1882+
If M3 > 0 Then R01 = R01 & T_HEX(H - M3, L / 2, 11)
1883
1884-
R01 = R01 & T_BLQ(5, 37, 0, 37 + 5, 1, 1)
1884+
1885-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
1885+
1886-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
1886+
R_MS = 1
1887-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
1887+
R02 = T_SMUS(-R_MS, -R_MS) & T_SMUS(-R_MS, L + R_MS) & T_SMUS(H + R_MS, L + R_MS) & T_SMUS(H + R_MS, -R_MS)
1888-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
1888+
'R03 = T_SMUS(M5 + 105 / 2, -0.75) & T_SMUS(M5 - 105 / 2, L + 0.75) & T_SMUS(M5 + M6 + 105 / 2, -0.75) & T_SMUS(M5 + M6 - 105 / 2, L + 0.75)
1889-
R01 = R01 & T_BLQ(H - 10, 37 + 5, H - 15, 37, 1, 1)
1889+
R03A = T_CIRC(M5 + 52.5, 0, 4.2) & T_CIRC(M5 + 52.5 - M9, 0, 4.2) & T_CIRC(M5 + M6 - 52.5 + M10, 0, 4.2) & T_CIRC(M5 + M6 - 52.5, 0, 4.2)
1890
R03B = T_CIRC(M5 + 52.5, L, 4.2) & T_CIRC(M5 + 52.5 - M9, L, 4.2) & T_CIRC(M5 + M6 - 52.5 + M10, L, 4.2) & T_CIRC(M5 + M6 - 52.5, L, 4.2)
1891
R03 = R03A & R03B
1892-
YY1 = 45.3 + M1
1892+
R04 = T_CIRC(0, L - 17, 4.2)
1893-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
1893+
1894
fn = R01 & R02 & R03 & R04
1895
1896
P1 = 250
1897
P2 = H - 400
1898-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1898+
1899
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
1900
1901-
fn = R01 & R02 & R04
1901+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
1902
1903
Call SAVE_SUB(NND, STRINGA)
1904
1905
POSINTAB = def_posintab(NND)
1906
Call CUT_END_S(H, L, "0", POSINTAB)
1907
Call FVTPT(3, NND, "")
1908
Call CUT_END_S(H, L, "B", POSINTAB)
1909
Call FVTPT(3, NND, "B")
1910
Call CUT_END_S(H, L, "C", POSINTAB)
1911
Call FVTPT(3, NND, "C")
1912
1913
End Sub
1914
1915
1916
Sub S_1037258B(ByVal NND As Integer)
1917-
Sub S_1006704A(ByVal NND As Integer)
1917+
ACT_MOD = "1037258"
1918-
ACT_MOD = "1006704"
1918+
1919-
CLAMP = 1
1919+
1920
L = INPUT_NUM(NND, "L", L, ACT_MOD)
1921
H = INPUT_NUM(NND, "H", H, ACT_MOD)
1922
SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
1923
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
1924
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
1925
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
1926
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
1927-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
1927+
1928-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
1928+
1929-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
1929+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
1930-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
1930+
1931-
VV = Replace(VV, "P", "")
1931+
1932
EN_ASL = 10
1933
Select Case ver
1934
Case 1
1935-
DD10 = 10
1935+
AGG = 1
1936
Case 2
1937
AGG = 2
1938-
Case 1, 3
1938+
1939
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
1940-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 29)
1940+
1941-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28, L + SCS)
1941+
1942
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
1943-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
1943+
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
1944-
R01 = R01 & T_CIRC(13, L - 59, DD10)
1944+
R01 = R01A & R01B
1945-
R01 = R01 & T_CIRC(13, L - 59 - 45, DD10)
1945+
1946-
R01 = R01 & T_CIRC(13, L - 59 - M1 + 45, DD10)
1946+
R02 = T_SLOT(5, 20 + 35 + 47 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 40 - 4 * SPS, 23.5, EN_ASL, 0)
1947-
R01 = R01 & T_CIRC(13, L - 59 - M1, DD10)
1947+
1948-
If VV = 1 Then R02 = T_RECT1(121 - 12, 121 + 12, L - 134 - 12, L - 134 + 12) Else R02 = ""  'FORO EMERGENZA QUADRATO 24x24
1948+
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
1949
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
1950-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77, L - 77 + 60)
1950+
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
1951-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28, L + SCS)
1951+
1952-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59 - M2 + 18 - 90, L - 59 - M2 + 18)
1952+
1953-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 45)
1953+
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
1954
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
1955-
R01 = R01 & T_BLQ(5, 29, 0, 29 + 5, 1, 1)
1955+
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
1956-
R01 = R01 & T_BLQ(0, L - 33, 5, L - 33 + 5, 1, 1)
1956+
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
1957-
R01 = R01 & T_BLQ(H - 15, L - 28, H - 10, L - 28 - 5, 1, 1)
1957+
R05 = R05A & R05B
1958-
R01 = R01 & T_BLQ(H - 5, L - 77, H, L - 77 - 5, 1, 1)
1958+
1959-
R01 = R01 & T_BLQ(H, L - 59 - M2 + 23, H - 5, L - 59 - M2 + 18, 1, 1)
1959+
R06A = T_RECT1(-6, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
1960-
R01 = R01 & T_BLQ(H - 10, 45 + 5, H - 15, 45, 1, 1)
1960+
R06B = T_RECT1(H + 6, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
1961
R06 = R06A & R06B
1962-
YY1 = 59
1962+
1963
R_MS = 1
1964-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
1964+
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
1965-
SPEK = 0
1965+
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
1966
R07 = R07A & R07B
1967-
Case 2, 4
1967+
1968
1969-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 29)
1969+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07
1970-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28, L + SCS)
1970+
1971-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
1971+
1972-
R01 = R01 & T_CIRC(13, L - 59, DD10)
1972+
1973-
R01 = R01 & T_CIRC(13, L - 59 - 45, DD10)
1973+
1974-
R01 = R01 & T_CIRC(13, L - 59 - M1 + 45, DD10)
1974+
1975-
R01 = R01 & T_CIRC(13, L - 59 - M1, DD10)
1975+
1976-
If VV = 2 Then R02 = T_RECT1(121 - 12, 121 + 12, L - 134 - 12, L - 134 + 12) Else R02 = ""  'FORO EMERGENZA QUADRATO 24x24
1976+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
1977
1978-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77, L - 77 + 60)
1978+
1979-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28, L + SCS)
1979+
1980-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59 - M2 + 18 - 90, L - 59 - M2 + 18)
1980+
1981-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 45)
1981+
1982
Call FVTPT(3, NND, "")
1983-
R01 = R01 & T_BLQ(5, 29, 0, 29 + 5, 1, 1)
1983+
1984-
R01 = R01 & T_BLQ(0, L - 33, 5, L - 33 + 5, 1, 1)
1984+
1985-
R01 = R01 & T_BLQ(H - 15, L - 28, H - 10, L - 28 - 5, 1, 1)
1985+
Call CUT_END_S(H, L, "C", POSINTAB)
1986-
R01 = R01 & T_BLQ(H - 5, L - 77, H, L - 77 - 5, 1, 1)
1986+
Call FVTPT(3, NND, "C")
1987-
R01 = R01 & T_BLQ(H, L - 59 - M2 + 23, H - 5, L - 59 - M2 + 18, 1, 1)
1987+
1988-
R01 = R01 & T_BLQ(H - 10, 45 + 5, H - 15, 45, 1, 1)
1988+
1989
1990-
YY1 = 59
1990+
1991
Sub S_1037258C(ByVal NND As Integer)
1992-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
1992+
ACT_MOD = "1037258"
1993
CLAMP = 0
1994
1995
L = INPUT_NUM(NND, "L", L, ACT_MOD)
1996
H = INPUT_NUM(NND, "H", H, ACT_MOD)
1997-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
1997+
1998
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
1999
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
2000-
fn = R01 & R02 & R04
2000+
2001
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
2002
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
2003
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
2004
M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
2005
M8 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
2006
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2007
ODP = INFO_DAT(NND, 0, 5)
2008
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2009
2010
SCS = 6
2011
EN_ASL = 10
2012
Select Case ver
2013
Case 1
2014
AGG = 1
2015
Case 2
2016
AGG = 2
2017-
Sub S_1006702A(ByVal NND As Integer)
2017+
2018-
ACT_MOD = "1006702"
2018+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2019-
CLAMP = 1
2019+
2020
2021
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2022
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2023
R01 = R01A & R01B
2024
2025
R02 = T_SLOT(5, 20 + 35 + 47 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 40 - 4 * SPS, 23.5, EN_ASL, 0)
2026
R03 = ""
2027-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
2027+
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
2028-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
2028+
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
2029-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
2029+
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
2030-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
2030+
2031-
VV = Replace(VV, "P", "")
2031+
2032
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
2033
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
2034
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2035-
DD10 = 10
2035+
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2036
R05 = R05A & R05B
2037
2038-
Case 1, 3
2038+
R06A = T_RECT1(-6, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
2039
R06B = T_RECT1(H + 6, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
2040-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 27.8)
2040+
R06 = R06A & R06B
2041-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28.3, L + SCS)
2041+
2042
R_MS = 0.6
2043-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
2043+
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2044-
R01 = R01 & T_CIRC(13, L - 60.8, DD10)
2044+
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2045-
R01 = R01 & T_CIRC(13, L - 60.8 - 45, DD10)
2045+
R07C = T_SMUS(26 - 2 * SPS - R_MS, -R_MS) & T_SMUS(26 - 2 * SPS - R_MS, L + R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, -R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, L + R_MS)
2046-
R01 = R01 & T_CIRC(13, L - 60.8 - M1 + 45, DD10)
2046+
R07 = R07A & R07B & R07C
2047-
R01 = R01 & T_CIRC(13, L - 60.8 - M1, DD10)
2047+
2048-
If VV = 1 Then R02 = T_CIRC(121, L - 135.8, 20) Else R02 = ""  'FORO EMERGENZA TONDO
2048+
If M9 > 0 Then R08A = T_SLOT(H - 26 - M9 + 2.4, L - 20 - 39 + 2.4, 12, 6.5, 0) Else R08A = ""
2049
If M7 > 0 Then R08B = T_SLOT(H - 26 - M7 + 2.4, L - 20 - 39 + 2.4, 12, 6.5, 0) Else R08B = ""
2050-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77.3, L - 77.3 + 60)
2050+
If M8 > 0 Then R08C = T_SLOT(26 + M8 - 2.4, L - 20 - 39 + 2.4, 12, 6.5, 0) Else R08C = ""
2051-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28.3, L + SCS)
2051+
R08 = R08A & R08B & R08C
2052-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59.3 - M2 + 18 - 90, L - 59.3 - M2 + 18)
2052+
2053-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 43.8)
2053+
R09 = T_DATAMATRIX(ODP, H - 26 - 80 + 2.4 - 43.5, L - 20 - 6 + 2.4 - 18.5, "O")
2054
2055-
R01 = R01 & T_BLQ(5, 27.8, 0, 27.8 + 5, 1, 1)
2055+
2056-
R01 = R01 & T_BLQ(0, L - 28.3 - 5, 5, L - 28.3, 1, 1)
2056+
2057-
R01 = R01 & T_BLQ(H - 15, L - 28.3, H - 10, L - 28.3 - 5, 1, 1)
2057+
2058-
R01 = R01 & T_BLQ(H - 5, L - 77.3, H, L - 77.3 - 5, 1, 1)
2058+
2059-
R01 = R01 & T_BLQ(H, L - 59.3 - M2 + 23, H - 5, L - 59.3 - M2 + 18, 1, 1)
2059+
2060-
R01 = R01 & T_BLQ(H - 10, 43.8 + 5, H - 15, 43.8, 1, 1)
2060+
2061
2062-
YY1 = 59.3
2062+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2063-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
2063+
2064-
SPEK = 0
2064+
2065
2066-
Case 2, 4
2066+
2067
Call CUT_END_S(H, L, "0", POSINTAB)
2068-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 27.8)
2068+
2069-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28.3, L + SCS)
2069+
2070
Call FVTPT(3, NND, "B")
2071-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
2071+
Call CUT_END_S(H, L, "C", POSINTAB)
2072-
R01 = R01 & T_CIRC(13, L - 60.8, DD10)
2072+
Call FVTPT(3, NND, "C")
2073-
R01 = R01 & T_CIRC(13, L - 60.8 - 45, DD10)
2073+
2074-
R01 = R01 & T_CIRC(13, L - 60.8 - M1 + 45, DD10)
2074+
2075-
R01 = R01 & T_CIRC(13, L - 60.8 - M1, DD10)
2075+
2076-
If VV = 2 Then R02 = T_CIRC(121, L - 135.8, 20) Else R02 = ""  'FORO EMERGENZA TONDO
2076+
2077
Sub S_1037258E(ByVal NND As Integer)
2078-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77.3, L - 77.3 + 60)
2078+
ACT_MOD = "1037258"
2079-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28.3, L + SCS)
2079+
2080-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59.3 - M2 + 18 - 90, L - 59.3 - M2 + 18)
2080+
2081-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 43.8)
2081+
2082
H = INPUT_NUM(NND, "H", H, ACT_MOD)
2083-
R01 = R01 & T_BLQ(5, 27.8, 0, 27.8 + 5, 1, 1)
2083+
2084-
R01 = R01 & T_BLQ(0, L - 28.3 - 5, 5, L - 28.3, 1, 1)
2084+
2085-
R01 = R01 & T_BLQ(H - 15, L - 28.3, H - 10, L - 28.3 - 5, 1, 1)
2085+
2086-
R01 = R01 & T_BLQ(H - 5, L - 77.3, H, L - 77.3 - 5, 1, 1)
2086+
2087-
R01 = R01 & T_BLQ(H, L - 59.3 - M2 + 23, H - 5, L - 59.3 - M2 + 18, 1, 1)
2087+
2088-
R01 = R01 & T_BLQ(H - 10, 43.8 + 5, H - 15, 43.8, 1, 1)
2088+
2089
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
2090-
YY1 = 59.3
2090+
2091-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
2091+
2092
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2093
ODP = INFO_DAT(NND, 0, 5)
2094
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2095-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
2095+
2096
SCS = 6
2097
EN_ASL = 10
2098
Select Case ver
2099-
fn = R01 & R02 & R04
2099+
2100
AGG = 1
2101
Case 2
2102
AGG = 2
2103
Case Else
2104
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2105
End Select
2106
2107
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2108
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2109
R01 = R01A & R01B
2110
2111
R02 = T_SLOT(5, 20 + 35 + 47 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 40 - 4 * SPS, 23.5, EN_ASL, 0)
2112
R03 = ""
2113
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
2114
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
2115
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
2116-
Sub S_1006632B(ByVal NND As Integer)
2116+
2117-
ACT_MOD = "1006632"
2117+
2118-
CLAMP = 1
2118+
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
2119
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
2120
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2121
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2122
R05 = R05A & R05B
2123
2124
R06A = T_RECT1(-6, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
2125
R06B = T_RECT1(H + 6, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
2126-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
2126+
R06 = R06A & R06B
2127-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
2127+
2128-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
2128+
R_MS = 0.6
2129-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
2129+
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2130-
VV = Replace(VV, "P", "")
2130+
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2131
R07C = T_SMUS(26 - 2 * SPS - R_MS, -R_MS) & T_SMUS(26 - 2 * SPS - R_MS, L + R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, -R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, L + R_MS)
2132
R07 = R07A & R07B & R07C
2133
2134-
DD10 = 10
2134+
If M9 > 0 Then R08A = T_SLOT(H - 26 - M9 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08A = ""
2135
If M7 > 0 Then R08B = T_SLOT(H - 26 - M7 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08B = ""
2136
If M8 > 0 Then R08C = T_SLOT(26 + M8 - 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08C = ""
2137-
Case 1, 3
2137+
R08 = R08A & R08B & R08C
2138
2139-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 45)
2139+
R09 = T_DATAMATRIX(ODP, H - 26 - 80 + 2.4 - 43.5, L - 20 - 6 + 2.4 - 18.5, "O")
2140-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28, L + SCS)
2140+
2141
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09
2142-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
2142+
2143-
R01 = R01 & T_CIRC(13, L - 39, DD10)
2143+
2144-
R01 = R01 & T_CIRC(13, L - 39 - 45, DD10)
2144+
2145-
R01 = R01 & T_CIRC(13, L - 39 - M1 + 45, DD10)
2145+
2146-
R01 = R01 & T_CIRC(13, L - 39 - M1, DD10)
2146+
2147-
If VV = 1 Then R02 = T_RECT1(121 - 12, 121 + 12, L - 114 - 12, L - 114 + 12) Else R02 = "" 'FORO EMERGENZA QUADRATO 24x24
2147+
2148
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2149-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77, L - 77 + 60)
2149+
2150-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28, L + SCS)
2150+
2151-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59 - M2 + 18 - 90, L - 59 - M2 + 18)
2151+
2152-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 45)
2152+
2153
Call CUT_END_S(H, L, "0", POSINTAB)
2154-
R01 = R01 & T_BLQ(5, 45, 0, 45 + 5, 1, 1)
2154+
2155-
R01 = R01 & T_BLQ(0, L - 33, 5, L - 33 + 5, 1, 1)
2155+
2156-
R01 = R01 & T_BLQ(H - 15, L - 28, H - 10, L - 28 - 5, 1, 1)
2156+
2157-
R01 = R01 & T_BLQ(H - 5, L - 77, H, L - 77 - 5, 1, 1)
2157+
Call CUT_END_S(H, L, "C", POSINTAB)
2158-
R01 = R01 & T_BLQ(H, L - 59 - M2 + 23, H - 5, L - 59 - M2 + 18, 1, 1)
2158+
Call FVTPT(3, NND, "C")
2159-
R01 = R01 & T_BLQ(H - 10, 45 + 5, H - 15, 45, 1, 1)
2159+
2160
End Sub
2161
2162-
YY1 = 59
2162+
2163-
If VV = 3 Then
2163+
Sub S_1037258F(ByVal NND As Integer)
2164-
R03 = T_CIRC(8, L - 104 - BT - 14 + 4 * SPS, 10)
2164+
ACT_MOD = "1037258"
2165-
R03 = R03 & T_RECT1(-2, 8, L - 104 - BT - 14 - 5 + 4 * SPS, L - 104 - BT - 14 + 5 + 4 * SPS)
2165+
2166-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS, 8.5)
2166+
2167-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS + 0.75, 8.5)
2167+
2168-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS - 0.75, 8.5)
2168+
2169-
Else
2169+
2170
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
2171-
End If
2171+
2172-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
2172+
2173-
SPEK = 0
2173+
2174
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
2175-
Case 2, 4
2175+
2176
'M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
2177-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 45)
2177+
'M8 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
2178-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28, L + SCS)
2178+
'M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2179
ODP = INFO_DAT(NND, 0, 5)
2180-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
2180+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2181-
R01 = R01 & T_CIRC(13, L - 39, DD10)
2181+
2182-
R01 = R01 & T_CIRC(13, L - 39 - 45, DD10)
2182+
2183-
R01 = R01 & T_CIRC(13, L - 39 - M1 + 45, DD10)
2183+
EN_ASL = 10
2184-
R01 = R01 & T_CIRC(13, L - 39 - M1, DD10)
2184+
Select Case ver
2185-
If VV = 2 Then R02 = T_RECT1(121 - 12, 121 + 12, L - 114 - 12, L - 114 + 12) Else R02 = "" 'FORO EMERGENZA QUADRATO 24x24
2185+
2186
AGG = 1
2187-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77, L - 77 + 60)
2187+
2188-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28, L + SCS)
2188+
AGG = 2
2189-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59 - M2 + 18 - 90, L - 59 - M2 + 18)
2189+
2190-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 45)
2190+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2191
End Select
2192-
R01 = R01 & T_BLQ(5, 45, 0, 45 + 5, 1, 1)
2192+
2193-
R01 = R01 & T_BLQ(0, L - 33, 5, L - 33 + 5, 1, 1)
2193+
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2194-
R01 = R01 & T_BLQ(H - 15, L - 28, H - 10, L - 28 - 5, 1, 1)
2194+
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2195-
R01 = R01 & T_BLQ(H - 5, L - 77, H, L - 77 - 5, 1, 1)
2195+
R01 = R01A & R01B
2196-
R01 = R01 & T_BLQ(H, L - 59 - M2 + 23, H - 5, L - 59 - M2 + 18, 1, 1)
2196+
2197-
R01 = R01 & T_BLQ(H - 10, 45 + 5, H - 15, 45, 1, 1)
2197+
R02 = T_SLOT(5, 20 + 35 + 47 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 40 - 4 * SPS, 23.5, EN_ASL, 0)
2198
R03 = ""
2199
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
2200-
YY1 = 59
2200+
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
2201-
If VV = 4 Then
2201+
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
2202-
R03 = T_CIRC(8, L - 104 - BT - 14 + 4 * SPS, 10)
2202+
2203-
R03 = R03 & T_RECT1(-2, 8, L - 104 - BT - 14 - 5 + 4 * SPS, L - 104 - BT - 14 + 5 + 4 * SPS)
2203+
2204-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS, 8.5)
2204+
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
2205-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS + 0.75, 8.5)
2205+
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
2206-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS - 0.75, 8.5)
2206+
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2207-
Else
2207+
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2208
R05 = R05A & R05B
2209-
End If
2209+
2210-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
2210+
R06A = T_RECT1(-6 - 3, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6 - 3, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
2211
R06B = T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
2212
R06 = R06A & R06B
2213
2214
R_MS = 0.6
2215-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
2215+
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2216
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2217
R07C = T_SMUS(26 - 2 * SPS - R_MS, -R_MS) & T_SMUS(26 - 2 * SPS - R_MS, L + R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, -R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, L + R_MS)
2218
R07 = R07A & R07B & R07C
2219
2220
'If M9 > 0 Then R08A = T_SLOT(H - 26 - M9 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08A = ""
2221
'If M7 > 0 Then R08B = T_SLOT(H - 26 - M7 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08B = ""
2222
'If M8 > 0 Then R08C = T_SLOT(26 + M8 - 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08C = ""
2223
'R08 = R08A & R08B & R08C
2224
2225
2226
R09 = T_DATAMATRIX(ODP, H - 26 - 80 + 2.4 - 43.5, L - 20 - 6 + 2.4 - 18.5, "O")
2227
2228
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R09  '& R08
2229
2230
P1 = 250
2231
P2 = H - 400
2232
MVAL = 500
2233
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
2234
2235
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2236-
Sub S_1006629E(ByVal NND As Integer)
2236+
2237-
ACT_MOD = "1006629"
2237+
2238-
CLAMP = 1
2238+
2239
POSINTAB = def_posintab(NND)
2240
Call CUT_END_S(H, L, "0", POSINTAB)
2241
Call FVTPT(3, NND, "")
2242
Call CUT_END_S(H, L, "B", POSINTAB)
2243
Call FVTPT(3, NND, "B")
2244
Call CUT_END_S(H, L, "C", POSINTAB)
2245
Call FVTPT(3, NND, "C")
2246-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
2246+
2247-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
2247+
2248-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
2248+
2249-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
2249+
Sub S_1042991A(ByVal NND As Integer)
2250-
VV = Replace(VV, "P", "")
2250+
ACT_MOD = "1042991"
2251
CLAMP = 0
2252
2253
L = INPUT_NUM(NND, "L", L, ACT_MOD)
2254
H = INPUT_NUM(NND, "H", H, ACT_MOD)
2255-
DD10 = 10
2255+
2256
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
2257
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
2258-
Case 1, 3
2258+
2259
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
2260-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 43.8)
2260+
2261-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28.3, L + SCS)
2261+
2262
M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
2263-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
2263+
2264-
R01 = R01 & T_CIRC(13, L - 40.8, DD10)
2264+
2265-
R01 = R01 & T_CIRC(13, L - 40.8 - 45, DD10)
2265+
ODP = INFO_DAT(NND, 0, 5)
2266-
R01 = R01 & T_CIRC(13, L - 40.8 - M1 + 45, DD10)
2266+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2267-
R01 = R01 & T_CIRC(13, L - 40.8 - M1, DD10)
2267+
2268-
If VV = 1 Then R02 = T_CIRC(121, L - 115.8, 20) Else R02 = "" 'FORO EMERGENZA TONDO
2268+
2269
EN_ASL = 10
2270-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77.3, L - 77.3 + 60)
2270+
Select Case ver
2271-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28.3, L + SCS)
2271+
2272-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59.3 - M2 + 18 - 75, L - 59.3 - M2 + 18)
2272+
AGG = 1
2273-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 43.8)
2273+
2274
AGG = 2
2275-
R01 = R01 & T_BLQ(5, 43.8, 0, 43.8 + 5, 1, 1)
2275+
2276-
R01 = R01 & T_BLQ(0, L - 33.3, 5, L - 33.3 + 5, 1, 1)
2276+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2277-
R01 = R01 & T_BLQ(H - 15, L - 28.3, H - 10, L - 28.3 - 5, 1, 1)
2277+
2278-
R01 = R01 & T_BLQ(H - 5, L - 77.3, H, L - 77.3 - 5, 1, 1)
2278+
2279-
R01 = R01 & T_BLQ(H, L - 59.3 - M2 + 23, H - 5, L - 59.3 - M2 + 18, 1, 1)
2279+
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2280-
R01 = R01 & T_BLQ(H - 10, 48.8, H - 15, 43.8, 1, 1)
2280+
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2281
R01 = R01A & R01B
2282-
YY1 = 59.3
2282+
2283-
If VV = 3 Then
2283+
R02 = T_SLOT(5, 20 + 35 + 30 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 30 - 4 * SPS, 23.5, EN_ASL, 0)
2284-
R03 = T_CIRC(8, L - 104 - 17.5 - 14 + 4 * SPS, 10)
2284+
2285-
R03 = R03 & T_RECT1(-2, 8, L - 104 - 17.5 - 14 - 5 + 4 * SPS, L - 104 - 17.5 - 14 + 5 + 4 * SPS)
2285+
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
2286-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS, 8.5)
2286+
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
2287-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS + 0.75, 8.5)
2287+
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
2288-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS - 0.75, 8.5)
2288+
2289-
Else
2289+
2290
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
2291-
End If
2291+
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
2292-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
2292+
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2293-
SPEK = 0
2293+
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2294
R05 = R05A & R05B
2295-
Case 2, 4
2295+
2296
R06A = T_RECT1(-6 - 3, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6 - 3, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
2297-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 43.8)
2297+
R06B = T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
2298-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - 28.3, L + SCS)
2298+
R06 = R06A & R06B
2299-
R01 = R01 & T_CIRC(46, L - 5, 4.5)
2299+
2300-
R01 = R01 & T_CIRC(13, L - 40.8, DD10)
2300+
R_MS = 0.6
2301-
R01 = R01 & T_CIRC(13, L - 40.8 - 45, DD10)
2301+
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2302-
R01 = R01 & T_CIRC(13, L - 40.8 - M1 + 45, DD10)
2302+
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2303-
R01 = R01 & T_CIRC(13, L - 40.8 - M1, DD10)
2303+
R07C = T_SMUS(26 - 2 * SPS - R_MS, -R_MS) & T_SMUS(26 - 2 * SPS - R_MS, L + R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, -R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, L + R_MS)
2304-
If VV = 2 Then R02 = T_CIRC(121, L - 115.8, 20) Else R02 = "" 'FORO EMERGENZA TONDO
2304+
R07 = R07A & R07B & R07C
2305
2306-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 77.3, L - 77.3 + 60)
2306+
If M9 > 0 Then R08A = T_SLOT(H - 26 - M9 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08A = ""
2307-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - 28.3, L + SCS)
2307+
If M7 > 0 Then R08B = T_SLOT(H - 26 - M7 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08B = ""
2308-
R01 = R01 & T_RECT1(H - 10, H + 1, L - 59.3 - M2 + 18 - 75, L - 59.3 - M2 + 18)
2308+
If M8 > 0 Then R08C = T_SLOT(26 + M8 - 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08C = ""
2309-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 43.8)
2309+
R08 = R08A & R08B & R08C
2310
2311-
R01 = R01 & T_BLQ(5, 43.8, 0, 43.8 + 5, 1, 1)
2311+
R09 = T_DATAMATRIX(ODP, H - 26 - 80 + 2.4 - 43.5, L - 20 - 6 + 2.4 - 18.5, "O")
2312-
R01 = R01 & T_BLQ(0, L - 33.3, 5, L - 33.3 + 5, 1, 1)
2312+
2313-
R01 = R01 & T_BLQ(H - 15, L - 28.3, H - 10, L - 28.3 - 5, 1, 1)
2313+
2314-
R01 = R01 & T_BLQ(H - 5, L - 77.3, H, L - 77.3 - 5, 1, 1)
2314+
2315-
R01 = R01 & T_BLQ(H, L - 59.3 - M2 + 23, H - 5, L - 59.3 - M2 + 18, 1, 1)
2315+
2316-
R01 = R01 & T_BLQ(H - 10, 48.8, H - 15, 43.8, 1, 1)
2316+
2317
MVAL = 500
2318-
YY1 = 59.3
2318+
2319-
If VV = 4 Then
2319+
2320-
R03 = T_CIRC(8, L - 104 - 17.5 - 14 + 4 * SPS, 10)
2320+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2321-
R03 = R03 & T_RECT1(-2, 8, L - 104 - 17.5 - 14 - 5 + 4 * SPS, L - 104 - 17.5 - 14 + 5 + 4 * SPS)
2321+
2322-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS, 8.5)
2322+
2323-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS + 0.75, 8.5)
2323+
2324-
R03 = R03 & T_CIRC(19, L - 85 - BT - 14 + 4 * SPS - 0.75, 8.5)
2324+
2325-
Else
2325+
2326
Call FVTPT(3, NND, "")
2327-
End If
2327+
2328-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M2)
2328+
2329
Call CUT_END_S(H, L, "C", POSINTAB)
2330
Call FVTPT(3, NND, "C")
2331
2332
End Sub
2333-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
2333+
2334
2335
Sub S_1042991C(ByVal NND As Integer)
2336
ACT_MOD = "1042991"
2337
CLAMP = 0
2338
2339
L = INPUT_NUM(NND, "L", L, ACT_MOD)
2340
H = INPUT_NUM(NND, "H", H, ACT_MOD)
2341
SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
2342
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
2343
M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
2344
M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
2345
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
2346
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
2347
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
2348
'M7 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
2349
'M8 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
2350
'M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2351
ODP = INFO_DAT(NND, 0, 5)
2352
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2353-
Sub S_1006619A(ByVal NND As Integer)
2353+
2354-
ACT_MOD = "1006619"
2354+
2355-
CLAMP = 1
2355+
EN_ASL = 10
2356
Select Case ver
2357
Case 1
2358
AGG = 1
2359
Case 2
2360
AGG = 2
2361
Case Else
2362
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2363
End Select
2364
2365-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
2365+
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2366-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
2366+
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2367-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
2367+
R01 = R01A & R01B
2368-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
2368+
2369-
VV = Replace(VV, "P", "")
2369+
R02 = T_SLOT(5, 20 + 35 + 30 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 30 - 4 * SPS, 23.5, EN_ASL, 0)
2370
R03 = ""
2371
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
2372
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
2373-
DD10 = 10
2373+
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
2374-
SCSUP = M1 + 14.3
2374+
2375-
SCFOR = M1 + 26.8
2375+
2376-
SCINF = M1 + 63.3
2376+
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
2377-
CENT = (H - 26 - 30) / 2
2377+
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
2378
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2379
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2380-
Case 1, 3
2380+
R05 = R05A & R05B
2381
2382-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 37)
2382+
R06A = T_RECT1(-6 - 3, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6 - 3, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
2383-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
2383+
R06B = T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
2384
R06 = R06A & R06B
2385-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
2385+
2386-
R01 = R01 & T_CIRC(13, L - SCFOR, DD10)
2386+
R_MS = 0.6
2387-
R01 = R01 & T_CIRC(13, L - SCFOR - 45, DD10)
2387+
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2388-
R01 = R01 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
2388+
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2389-
R01 = R01 & T_CIRC(13, L - SCFOR - M2, DD10)
2389+
R07C = T_SMUS(26 - 2 * SPS - R_MS, -R_MS) & T_SMUS(26 - 2 * SPS - R_MS, L + R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, -R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, L + R_MS)
2390-
R01 = R01 & T_CIRC(36, 18, 5)
2390+
R07 = R07A & R07B & R07C
2391-
R01 = R01 & T_CIRC(36 + M4, 18, 5)
2391+
2392-
R01 = R01 & T_CIRC(26 + CENT, 18, 5)
2392+
'If M9 > 0 Then R08A = T_SLOT(H - 26 - M9 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08A = ""
2393-
R01 = R01 & T_CIRC(H - 40 - M4, 18, 5)
2393+
'If M7 > 0 Then R08B = T_SLOT(H - 26 - M7 + 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08B = ""
2394-
R01 = R01 & T_CIRC(H - 40, 18, 5)
2394+
'If M8 > 0 Then R08C = T_SLOT(26 + M8 - 2.4, L - 20 - 39 + 2.4, 20, 6.5, 0) Else R08C = ""
2395
'R08 = R08A & R08B & R08C
2396-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
2396+
2397-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
2397+
R09 = T_DATAMATRIX(ODP, H - 26 - 80 + 2.4 - 43.5, L - 20 - 6 + 2.4 - 18.5, "O")
2398-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
2398+
2399-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 37)
2399+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R09 ' & R08
2400
2401-
R01 = R01 & T_BLQ(5, 37, 0, 37 + 5, 1, 1)
2401+
2402-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
2402+
2403-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
2403+
2404-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
2404+
2405-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
2405+
2406-
R01 = R01 & T_BLQ(H - 10, 37 + 5, H - 15, 37, 1, 1)
2406+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2407
2408-
YY1 = 45.3 + M1
2408+
2409-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
2409+
2410-
SPEK = 0
2410+
2411
Call CUT_END_S(H, L, "0", POSINTAB)
2412-
Case 2, 4
2412+
2413
Call CUT_END_S(H, L, "B", POSINTAB)
2414-
R01 = T_RECT1(-SCS - 0.6, 26, -SCS, 37)
2414+
2415-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
2415+
Call CUT_END_S(H, L, "C", POSINTAB)
2416
Call FVTPT(3, NND, "C")
2417-
R01 = R01 & T_CIRC(46, L - 7, 4.5)
2417+
2418-
R01 = R01 & T_CIRC(13, L - SCFOR, DD10)
2418+
2419-
R01 = R01 & T_CIRC(13, L - SCFOR - 45, DD10)
2419+
2420-
R01 = R01 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
2420+
Sub S_1042991D(ByVal NND As Integer)
2421-
R01 = R01 & T_CIRC(13, L - SCFOR - M2, DD10)
2421+
ACT_MOD = "1042991"
2422-
R01 = R01 & T_CIRC(36, 18, 5)
2422+
2423-
R01 = R01 & T_CIRC(36 + M4, 18, 5)
2423+
2424-
R01 = R01 & T_CIRC(26 + CENT, 18, 5)
2424+
2425-
R01 = R01 & T_CIRC(H - 40 - M4, 18, 5)
2425+
2426-
R01 = R01 & T_CIRC(H - 40, 18, 5)
2426+
2427
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
2428-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
2428+
2429-
R01 = R01 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
2429+
2430-
R01 = R01 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
2430+
2431-
R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, 37)
2431+
2432
M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
2433-
R01 = R01 & T_BLQ(5, 37, 0, 37 + 5, 1, 1)
2433+
2434-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
2434+
2435-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
2435+
2436-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
2436+
ODP = INFO_DAT(NND, 0, 5)
2437-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
2437+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2438-
R01 = R01 & T_BLQ(H - 10, 37 + 5, H - 15, 37, 1, 1)
2438+
2439
SCS = 6
2440-
YY1 = 45.3 + M1
2440+
EN_ASL = 10
2441-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
2441+
Select Case ver
2442
Case 1
2443
AGG = 1
2444
Case 2
2445-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
2445+
AGG = 2
2446
Case Else
2447
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2448-
fn = R01 & R04
2448+
2449
2450
R01A = T_SLOT(H - 26 - 55 + 2 * SPS, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 2 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2451
R01B = T_SLOT(H - 26 - 55 + 2 * SPS - 3 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0) & T_SLOT(H - 26 - 55 + 2 * SPS - 4 * M6, L - 20 - 14 + 2 * SPS, 16, EN_ASL, 0)
2452
R01 = R01A & R01B
2453
2454
R02 = T_SLOT(5, 20 + 35 + 30 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + 30 - 4 * SPS, 23.5, EN_ASL, 0)
2455
R03 = ""
2456
If M3 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M3 - 4 * SPS, 20, EN_ASL, 0) & T_SLOT(H - 6.75, 20 + 35 + M3 - 4 * SPS, 23.5, EN_ASL, 0)
2457
If M4 > 0 Then R03 = R03 & T_SLOT(5, 20 + 35 + M4 - 4 * SPS, 20, EN_ASL, 0)
2458
If M5 > 0 Then R03 = R03 & T_SLOT(H - 6.75, 20 + 35 + M5 - 4 * SPS, 23.5, EN_ASL, 0)
2459
2460
2461
'r04 = T_RECT1(6, 6 + 5, 20 + 35 + 15 - 4 * SPS, 20 + 35 + 15 - 4 * SPS + 5)
2462
R04 = T_RECT2(H - (6 + 2.5), 20 + 35 + 15 - 4 * SPS + 2.5, 6.8, 6.8)
2463-
Sub S_1006616A(ByVal NND As Integer)
2463+
R05A = T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(26 + 1.2 - 3.5 - 2 * SPS, L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2464-
ACT_MOD = "1006616"
2464+
R05B = T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), 20 + 35 + 7.6 - 1 - 4 * SPS, 7, 2, 0) & T_SLOT(H - (26 + 1.2 - 3.5 - 2 * SPS), L - 20 - 7.6 + 2 * SPS + 1, 7, 2, 0)
2465-
CLAMP = 1
2465+
R05 = R05A & R05B
2466
2467
R06A = T_RECT1(-6 - 3, 26 - 2 * SPS, -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(-6 - 3, 26 - 2 * SPS, L + 6, L - 20 - 7.6 + 2 * SPS)
2468
R06B = T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), -6, 20 + 35 + 7.6 - 4 * SPS) & T_RECT1(H + 6 + 3, H - (26 - 2 * SPS), L + 6, L - 20 - 7.6 + 2 * SPS)
2469
R06 = R06A & R06B
2470
2471
R_MS = 0.6
2472
R07A = T_SMUS(-R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(-R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2473
R07B = T_SMUS(H + R_MS, 20 + 35 + 7.6 - 4 * SPS - R_MS) & T_SMUS(H + R_MS, L - 20 - 7.6 + 2 * SPS + R_MS)
2474
R07C = T_SMUS(26 - 2 * SPS - R_MS, -R_MS) & T_SMUS(26 - 2 * SPS - R_MS, L + R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, -R_MS) & T_SMUS(H - 26 + 2 * SPS + R_MS, L + R_MS)
2475-
BT = INPUT_NUM(NND, "BT", BT, ACT_MOD)
2475+
R07 = R07A & R07B & R07C
2476-
LA = INPUT_NUM(NND, "LA", LA, ACT_MOD)
2476+
2477-
VV = INPUT_STR(NND, "VER.", VV, ACT_MOD)
2477+
If M9 > 0 Then R08A = T_SLOT(H - M9 - 26 + 2 * SPS, L - 20 - 39 + 2 * SPS, 12, 6.5, 0) Else R08A = ""
2478-
If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD)
2478+
If M7 > 0 Then R08B = T_SLOT(H - M7 - 26 + 2 * SPS, L - 20 - 39 + 2 * SPS, 12, 6.5, 0) Else R08B = ""
2479-
VV = Replace(VV, "P", "")
2479+
If M8 > 0 Then R08C = T_SLOT(H - M8 - 26 + 2 * SPS, L - 20 - 39 + 2 * SPS, 12, 6.5, 0) Else R08C = ""
2480
R08 = R08A & R08B & R08C
2481
2482
R09 = T_DATAMATRIX(ODP, H - 26 - 80 + 2.4 - 43.5, L - 20 - 6 + 2.4 - 18.5, "O")
2483-
DD10 = 10
2483+
2484-
SCSUP = M1 + 10.7
2484+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R09 & R08
2485-
SCFOR = M1 + 25.7
2485+
2486-
SCINF = M1 + 63.7
2486+
2487-
POSC = (H - 26 - 30) / 2
2487+
2488
MVAL = 500
2489
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
2490-
Case 1, 3
2490+
2491-
R01 = T_RECT1(-46, 26, -SCS, 99.3)
2491+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2492-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
2492+
2493
Call SAVE_SUB(NND, STRINGA)
2494-
R02 = T_CIRC(46, L - 7, 4.5)
2494+
2495-
R02 = R02 & T_CIRC(13, L - SCFOR, DD10)
2495+
2496-
R02 = R02 & T_CIRC(13, L - SCFOR - 45, DD10)
2496+
2497-
R02 = R02 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
2497+
2498-
R02 = R02 & T_CIRC(13, L - SCFOR - M2, DD10)
2498+
2499-
R02 = R02 & T_CIRC(36, 78.5, 5)
2499+
2500-
R02 = R02 & T_CIRC(36 + M4, 78.5, 5)
2500+
Call CUT_END_S(H, L, "C", POSINTAB)
2501-
R02 = R02 & T_CIRC(POSC + 26, 78.5, 5)
2501+
Call FVTPT(3, NND, "C")
2502-
R02 = R02 & T_CIRC(H - 40 - M4, 78.5, 5)
2502+
2503-
R02 = R02 & T_CIRC(H - 40, 78.5, 5)
2503+
2504
2505-
R03 = T_RECT1(36 - 2.5, 36 + 2.5, 40.5 - 5, 40.5 + 5)
2505+
2506-
R03 = R03 & T_RECT1(36 + M4 - 2.5, 36 + M4 + 2.5, 40.5 - 5, 40.5 + 5)
2506+
2507-
R03 = R03 & T_RECT1(POSC + 26 - 2.5, POSC + 26 + 2.5, 40.5 - 5, 40.5 + 5)
2507+
2508-
R03 = R03 & T_RECT1(H - 40 - M4 - 2.5, H - 40 - M4 + 2.5, 40.5 - 5, 40.5 + 5)
2508+
Function T_BUGNA(ByVal XC As Double, ByVal YC As Double)
2509-
R03 = R03 & T_RECT1(H - 40 - 2.5, H - 40 + 2.5, 40.5 - 5, 40.5 + 5)
2509+
2510
2511-
R03 = R03 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
2511+
T_BUGNA = T_SPECIAL(XC, YC, "15Y", "C0.")
2512-
R03 = R03 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
2512+
2513-
R03 = R03 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
2513+
2514-
R03 = R03 & T_RECT1(H - 30, H + 42, -SCS, 99.3)
2514+
2515
2516-
R01 = R01 & T_BLQ(5, 99.3, 0, 99.3 + 5, 1, 1)
2516+
2517-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
2517+
2518-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
2518+
Sub S_1037319B(ByVal NND As Integer)
2519-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
2519+
ACT_MOD = "1037319"
2520-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
2520+
2521-
R01 = R01 & T_BLQ(H - 10, 99.3 + 5, H - 15, 99.3, 1, 1)
2521+
2522
L = INPUT_NUM(NND, "L", L, ACT_MOD)
2523-
YY1 = 45.7 + M1
2523+
2524-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
2524+
2525-
SPEK = 0
2525+
2526
R01 = T_BUGNA(100, 7.5) & T_BUGNA(100 + 200, 7.5) & T_BUGNA(H - 100, 7.5)
2527-
Case 2, 4
2527+
R02 = T_BUGNA(100, L - 7.5) & T_BUGNA(100 + 200, L - 7.5) & T_BUGNA(H - 100, L - 7.5)
2528
2529-
R01 = T_RECT1(-46, 26, -SCS, 99.3)
2529+
2530-
R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - SCSUP, L + SCS)
2530+
fn = R01 & R02
2531
2532-
R02 = T_CIRC(46, L - 7, 4.5)
2532+
2533-
R02 = R02 & T_CIRC(13, L - SCFOR, DD10)
2533+
2534-
R02 = R02 & T_CIRC(13, L - SCFOR - 45, DD10)
2534+
2535-
R02 = R02 & T_CIRC(13, L - SCFOR - M2 + 45, DD10)
2535+
2536-
R02 = R02 & T_CIRC(13, L - SCFOR - M2, DD10)
2536+
2537-
R02 = R02 & T_CIRC(36, 78.5, 5)
2537+
2538-
R02 = R02 & T_CIRC(36 + M4, 78.5, 5)
2538+
2539-
R02 = R02 & T_CIRC(POSC + 26, 78.5, 5)
2539+
2540-
R02 = R02 & T_CIRC(H - 40 - M4, 78.5, 5)
2540+
2541-
R02 = R02 & T_CIRC(H - 40, 78.5, 5)
2541+
2542
Call CUT_END_S(H, L, "B", POSINTAB)
2543-
R03 = T_RECT1(36 - 2.5, 36 + 2.5, 40.5 - 5, 40.5 + 5)
2543+
2544-
R03 = R03 & T_RECT1(36 + M4 - 2.5, 36 + M4 + 2.5, 40.5 - 5, 40.5 + 5)
2544+
Call CUT_END_S(H, L, "C", POSINTAB)
2545-
R03 = R03 & T_RECT1(POSC + 26 - 2.5, POSC + 26 + 2.5, 40.5 - 5, 40.5 + 5)
2545+
Call FVTPT(3, NND, "C")
2546-
R03 = R03 & T_RECT1(H - 40 - M4 - 2.5, H - 40 - M4 + 2.5, 40.5 - 5, 40.5 + 5)
2546+
2547-
R03 = R03 & T_RECT1(H - 40 - 2.5, H - 40 + 2.5, 40.5 - 5, 40.5 + 5)
2547+
2548
2549-
R03 = R03 & T_RECT1(H - 10, H + 1, L - SCINF, L - SCINF + 60)
2549+
2550-
R03 = R03 & T_RECT1(H - 30, H + 2.6, L - SCSUP, L + SCS)
2550+
2551-
R03 = R03 & T_RECT1(H - 10, H + 1, L - SCINF - M3 + 36 - 120, L - SCINF - M3 + 36)
2551+
Sub S_1012500(ByVal NND As Integer)
2552-
R03 = R03 & T_RECT1(H - 30, H + 42, -SCS, 99.3)
2552+
ACT_MOD = "1012500"
2553
CLAMP = 0
2554-
R01 = R01 & T_BLQ(5, 99.3, 0, 99.3 + 5, 1, 1)
2554+
2555-
R01 = R01 & T_BLQ(0, L - SCSUP - 5, 5, L - SCSUP, 1, 1)
2555+
2556-
R01 = R01 & T_BLQ(H - 15, L - SCSUP, H - 10, L - SCSUP - 5, 1, 1)
2556+
2557-
R01 = R01 & T_BLQ(H - 5, L - SCINF, H, L - SCINF - 5, 1, 1)
2557+
2558-
R01 = R01 & T_BLQ(H, L - SCINF - M3 + 18 + 18 + 5, H - 5, L - SCINF - M3 + 18 + 18, 1, 1)
2558+
2559-
R01 = R01 & T_BLQ(H - 10, 99.3 + 5, H - 15, 99.3, 1, 1)
2559+
2560
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2561-
YY1 = 45.7 + M1
2561+
2562-
R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3)
2562+
2563
2564
Select Case ver
2565
Case 1
2566
AGG = 1
2567-
MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical
2567+
2568
AGG = 2
2569
Case Else
2570
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2571
End Select
2572
2573
2574
R01 = T_SLOT(MR_X(H - 62 - 98, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2575
R01 = R01 & T_SLOT(MR_X(H - 62 - 98 - 658.5, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2576
R01 = R01 & T_SLOT(MR_X(H - 62 - 98 - 658.5 - 273, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2577
R01 = R01 & T_SLOT(MR_X(H - 62 - 98 - 658.5 - 273 - 395, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2578
R01 = R01 & T_SLOT(MR_X(H - 62 - 98 - 658.5 - 273 - 395 - 500, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2579
2580
R02 = ""
2581
R03 = ""
2582
R04 = ""
2583
For P = 1 To 36
2584
R02 = R02 & T_SLOT(MR_X(H - 62 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 3, 16, 3.2, 0)
2585
R03 = R03 & T_SLOT(MR_X(H - 62 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 6.3 - 3, 16, 3.2, 0)
2586
R04 = R04 & T_SLOT(MR_X(H - 62 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 6.3 - 6.3 - 3, 16, 3.2, 0)
2587
Next P
2588-
'************************************************************************************************************************************************
2588+
2589
R05 = T_CIRC(MR_X(10, H, AGG), 64, 8.5) & T_SLOT(MR_X(H - 18, H, AGG), 20 + 7 + 11.5 - 3, 24, 9, 0) '8.5
2590-
Function MIRROR(ByVal STRINGA As String, ByVal LENGHT As Double, ByVal WIDTH As Double, ByVal AGG_X As Integer, ByVal AGG_Y As Integer) As String
2590+
R06 = T_SLOT(MR_X(27 - 0.5, H, AGG), 20 + 35 + 4 - 1 - 6, 7, 2, 0) & T_SLOT(MR_X(27 - 0.5, H, AGG), 20 + 35 + 34 - 6 + 1, 7, 2, 0)
2591-
If STRINGA = "" Then Exit Function
2591+
R07 = T_SLOT(MR_X(H - 62 + 0.5, H, AGG), 20 + 7 - 1 - 3, 7, 2, 0) & T_SLOT(MR_X(H - 62 + 0.5, H, AGG), 20 + 7 + 1 - 3 + 23, 7, 2, 0)
2592
2593-
STAZ_NO_MRX = ""
2593+
R08 = T_RECT1(MR_X(-6, H, AGG), MR_X(27, H, AGG), -6, 20 + 35 + 4 - 6) & T_RECT1(MR_X(-6, H, AGG), MR_X(27, H, AGG), 20 + 35 + 34 - 6, L + 6)
2594-
STAZ_NO_MRY = ""
2594+
R09 = T_RECT1(MR_X(H - 62, H, AGG), MR_X(H + 6, H, AGG), -6, 20 + 7 - 3) & T_RECT1(MR_X(H - 62, H, AGG), MR_X(H + 6, H, AGG), 20 + 30 - 3, L + 6)
2595-
STAZ_NO_MR = ""
2595+
2596-
STAZ_INDEX = ""
2596+
R10 = T_SMUS(MR_X(27, H, AGG), 15 - 5.25) & T_SMUS(MR_X(27 + 15 - 5.25, H, AGG), 0) & T_SMUS(MR_X(27 + (15 - 5.25) / 2, H, AGG), (15 - 5.25) / 2) & T_CIRC(MR_X(27 + 1, H, AGG), 1, 8.5)
2597
2598
R_MS = 1.5
2599-
GoTo SALTA
2599+
R11 = T_SMUS(MR_X(-R_MS, H, AGG), 20 + 35 - 6 + 4 - R_MS) & T_SMUS(MR_X(-R_MS, H, AGG), 20 + 35 - 6 + 34 + R_MS) & T_SMUS(MR_X(27 - R_MS, H, AGG), L + R_MS)
2600-
NTT = NHD
2600+
R12 = T_SMUS(MR_X(H - 62 + R_MS, H, AGG), L + R_MS) & T_SMUS(MR_X(H - 62 + R_MS, H, AGG), -R_MS) & T_SMUS(MR_X(H + R_MS, H, AGG), 20 + 7 - 3 - R_MS) & T_SMUS(MR_X(H + R_MS, H, AGG), 20 + 30 - 3 + R_MS)
2601-
For TM = 1 To 100
2601+
2602-
If TOOL_VAR(NTT, TM, 1) = "" Then Exit For
2602+
2603-
If InStr(1, TOOL_VAR(NTT, TM, 8), "NO") > 0 Then
2603+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11 & R12
2604-
STAZ_NO_MR = STAZ_NO_MR & "-" & TOOL_VAR(NTT, TM, 1) & "-" 'UTENSILI NON SPECCHIABILI
2604+
2605-
If InStr(1, TOOL_VAR(NTT, TM, 8), "X") > 0 Then STAZ_NO_MRX = STAZ_NO_MRX & "-" & TOOL_VAR(NTT, TM, 1) & "-" 'UTENSILI NON SPECCHIABILI IN X
2605+
2606-
If InStr(1, TOOL_VAR(NTT, TM, 8), "Y") > 0 Then STAZ_NO_MRY = STAZ_NO_MRY & "-" & TOOL_VAR(NTT, TM, 1) & "-" 'UTENSILI NON SPECCHIABILI IN Y
2606+
2607-
End If
2607+
2608-
If TOOL_VAR(NTT, TM, 5) = "0I" And TOOL_VAR(NTT, TM, 6) = "SPECIALE" Then 'UTENSILI SPECIALI SU INDEX
2608+
2609-
STAZ_INDEX = STAZ_INDEX & "-" & TOOL_VAR(NTT, TM, 1) & "-"
2609+
2610-
End If
2610+
'If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2611-
Next TM
2611+
2612-
SALTA:
2612+
2613
2614
POSINTAB = def_posintab(NND)
2615
Call CUT_END_S(H, L, "0", POSINTAB)
2616-
Select Case AGG_X & AGG_Y
2616+
2617
Call CUT_END_S(H, L, "B", POSINTAB)
2618-
Case "11" '************************************************************************************SPECCHIATURA SIA IN X CHE IN Y
2618+
2619
Call CUT_END_S(H, L, "C", POSINTAB)
2620
Call FVTPT(3, NND, "C")
2621
2622-
PEZ_1 = Left(STRINGA, InStr(1, STRINGA, "M5") + 63) 'STRINGA CON TORRETTA E INFO PEZZO
2622+
2623-
PEZ_LAV = Replace(STRINGA, PEZ_1, "")               'STRINGA CON LAVORAZIONI
2623+
2624
2625-
For LV = 1 To quanteVolte(PEZ_LAV, ">")
2625+
Sub S_1012499(ByVal NND As Integer)
2626-
PEZ_2 = Left(PEZ_LAV, InStr(1, PEZ_LAV, ">")) 'STRINGA SINGOLA LAVORAZIONE
2626+
ACT_MOD = "1012499"
2627
CLAMP = 0
2628-
If InStr(1, STAZ_NO_MR, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)) = 0 Then
2628+
2629-
If InStr(1, PEZ_2, "X") > 0 Then
2629+
2630-
CRD_X = Mid(PEZ_2, InStr(1, PEZ_2, "X") + 1, InStr(InStr(1, PEZ_2, "X"), PEZ_2, "/") - 1)
2630+
2631-
CRD_X = LENGHT - Val(CRD_X)
2631+
2632
M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
2633-
If InStr(1, PEZ_2, "Y") > 0 Then
2633+
2634-
CRD_Y = Mid(PEZ_2, InStr(1, PEZ_2, "Y") + 1, InStr(InStr(1, PEZ_2, "Y"), PEZ_2, "/") - 1)
2634+
2635-
CRD_Y = WIDTH - Val(CRD_Y)
2635+
2636
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
2637-
End If
2637+
2638
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2639
2640
2641-
If InStr(1, STAZ_INDEX, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)) > 0 Then 'SPECIALI INDEX
2641+
Select Case ver
2642-
ANG_TL = Mid(PEZ_2, InStr(1, PEZ_2, "C") + 1, InStr(InStr(1, PEZ_2, "C"), PEZ_2, "/") - InStr(1, PEZ_2, "C") - 1)
2642+
2643-
ANG_TL2 = Replace(ANG_TL, ".", "")
2643+
AGG = 1
2644-
NEW_ANG = 180 - Abs(Val(ANG_TL2))
2644+
2645-
If Val(NEW_ANG) > 180 Then NEW_ANG = 360 - Val(NEW_ANG)
2645+
AGG = 2
2646-
If InStr(1, ANG_TL, "-") = 0 Then NEW_ANG = "-" & NEW_ANG
2646+
2647
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2648-
If Len(NEW_ANG) < 4 Then NEW_ANG = Replace(NEW_ANG, ".", "") & "."
2648+
2649-
PEZ_2 = Replace(PEZ_2, "C" & ANG_TL, "C" & NEW_ANG)
2649+
2650-
End If
2650+
2651
2652
2653
R01 = T_SLOT(MR_X(H - 35 - 98, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2654-
NEW_LAV = Left(PEZ_2, InStr(1, PEZ_2, "X")) & Jcdf(CRD_X) & "/Y" & Jcdf(CRD_Y) & Right(PEZ_2, Len(PEZ_2) - InStr(InStr(1, PEZ_2, "Y"), PEZ_2, "/") + 1) 'LAVORAZIONE SPECCHIATA
2654+
R01 = R01 & T_SLOT(MR_X(H - 35 - 98 - 658.5, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2655
R01 = R01 & T_SLOT(MR_X(H - 35 - 98 - 658.5 - 273, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2656
R01 = R01 & T_SLOT(MR_X(H - 35 - 98 - 658.5 - 273 - 395, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2657
R01 = R01 & T_SLOT(MR_X(H - 35 - 98 - 658.5 - 273 - 395 - 500, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2658-
Else
2658+
2659
R02 = ""
2660-
NEW_LAV = PEZ_2
2660+
2661
R04 = ""
2662
For P = 1 To 37
2663-
If InStr(1, NEW_LAV, "G28") > 0 Then
2663+
R02 = R02 & T_SLOT(MR_X(H - 35 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 3, 16, 3.2, 0)
2664-
If InStr(1, NEW_LAV, "J0.") > 0 Then
2664+
R03 = R03 & T_SLOT(MR_X(H - 35 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 6.3 - 3, 16, 3.2, 0)
2665-
NEW_LAV = Replace(NEW_LAV, "J0.", "J180.")
2665+
R04 = R04 & T_SLOT(MR_X(H - 35 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 6.3 - 6.3 - 3, 16, 3.2, 0)
2666-
GoTo FINE_ANGOLO_SCANT4
2666+
Next P
2667-
End If
2667+
2668-
If InStr(1, NEW_LAV, "J180.") > 0 Then
2668+
R05A = T_SLOT(MR_X(6.25, H, AGG), L - 20 - 32 + 3, 21.5, 9, 0)
2669-
NEW_LAV = Replace(NEW_LAV, "J180.", "J0.")
2669+
If M4 > 0 Then R05B = T_SLOT(MR_X(6.25, H, AGG), L - 20 - M4 + 3, 21.5, 9, 0) Else R05B = ""
2670-
GoTo FINE_ANGOLO_SCANT4
2670+
If M3 > 0 Then R05C = T_SLOT(MR_X(6.25, H, AGG), L - 20 - 32 - M3 + 3, 21.5, 9, 0) Else R05C = ""
2671-
End If
2671+
R05 = R05A & R05B & R05C
2672-
If InStr(1, NEW_LAV, "J90.") > 0 Then
2672+
2673-
NEW_LAV = Replace(NEW_LAV, "J90.", "J-90.")
2673+
R06A = T_SLOT(MR_X(H - 3.9, H, AGG), L - 20 - 48 + 3, 16.8, 9, 0)
2674-
GoTo FINE_ANGOLO_SCANT4
2674+
If M6 > 0 Then R06B = T_SLOT(MR_X(H - 3.9, H, AGG), L - 20 - M6 + 3, 16.8, 9, 0) Else R06B = ""
2675-
End If
2675+
If M5 > 0 Then R06C = T_SLOT(MR_X(H - 3.9, H, AGG), L - 20 - 48 - M5 + 3, 16.8, 9, 0) Else R06C = ""
2676-
If InStr(1, NEW_LAV, "J-90.") > 0 Then
2676+
R06 = R06A & R06B & R06C
2677-
NEW_LAV = Replace(NEW_LAV, "J-90.", "J90.")
2677+
2678-
GoTo FINE_ANGOLO_SCANT4
2678+
R07 = T_SLOT(MR_X(22 - 1.5, H, AGG), L - 20 - 18 + 3 + 1, 7, 2, 0) & T_SLOT(MR_X(22 - 1.5, H, AGG), 20 + 35 + 24 - 6 - 1, 7, 2, 0)
2679-
End If
2679+
2680-
If InStr(1, NEW_LAV, "J-0.") > 0 Then
2680+
R08 = T_RECT1(MR_X(-6, H, AGG), MR_X(22, H, AGG), L - 20 - 18 + 3, L + 6) & T_RECT1(MR_X(-0.6, H, AGG), MR_X(22, H, AGG), -6, 20 + 35 + 24 - 6)
2681-
NEW_LAV = Replace(NEW_LAV, "J-0.", "J-180.")
2681+
R09 = T_RECT1(MR_X(H - 35, H, AGG), MR_X(H + 6, H, AGG), L - 20 - 30 + 3, L + 6) & T_RECT1(MR_X(H - 35, H, AGG), MR_X(H + 6, H, AGG), -6, 20 + 35 + 25 - 6)
2682-
GoTo FINE_ANGOLO_SCANT4
2682+
2683-
End If
2683+
2684-
If InStr(1, NEW_LAV, "J-180.") > 0 Then
2684+
2685-
NEW_LAV = Replace(NEW_LAV, "J-0.", "J-0.")
2685+
2686-
GoTo FINE_ANGOLO_SCANT4
2686+
2687-
End If
2687+
2688-
If InStr(1, NEW_LAV, "J270.") > 0 Then
2688+
2689-
NEW_LAV = Replace(NEW_LAV, "J270.", "J-270.")
2689+
2690-
GoTo FINE_ANGOLO_SCANT4
2690+
2691-
End If
2691+
2692-
If InStr(1, NEW_LAV, "J-270.") > 0 Then
2692+
'If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2693-
NEW_LAV = Replace(NEW_LAV, "J-270.", "J270.")
2693+
2694-
GoTo FINE_ANGOLO_SCANT4
2694+
2695-
End If
2695+
2696-
End If
2696+
2697
Call CUT_END_S(H, L, "0", POSINTAB)
2698
Call FVTPT(3, NND, "")
2699-
If InStr(1, NEW_LAV, "G37") > 0 Then
2699+
2700-
If InStr(1, NEW_LAV, "I-") > 0 Then
2700+
2701-
NEW_LAV = Replace(NEW_LAV, "I-", "I")
2701+
Call CUT_END_S(H, L, "C", POSINTAB)
2702-
GoTo FINE_ANGOLO_SCANT3
2702+
Call FVTPT(3, NND, "C")
2703-
End If
2703+
2704-
If InStr(1, NEW_LAV, "I") > 0 Then
2704+
2705-
NEW_LAV = Replace(NEW_LAV, "I", "I-")
2705+
2706-
GoTo FINE_ANGOLO_SCANT3
2706+
2707-
End If
2707+
2708-
FINE_ANGOLO_SCANT3:
2708+
Sub S_1011067(ByVal NND As Integer)
2709-
If InStr(1, NEW_LAV, "J-") > 0 Then
2709+
ACT_MOD = "1011067"
2710-
NEW_LAV = Replace(NEW_LAV, "J-", "J")
2710+
2711-
GoTo FINE_ANGOLO_SCANT4
2711+
2712-
End If
2712+
2713-
If InStr(1, NEW_LAV, "J") > 0 Then
2713+
2714-
NEW_LAV = Replace(NEW_LAV, "J", "J-")
2714+
2715-
GoTo FINE_ANGOLO_SCANT4
2715+
2716-
End If
2716+
2717-
End If
2717+
2718
M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
2719
M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD)
2720-
FINE_ANGOLO_SCANT4:
2720+
2721-
End If
2721+
2722-
Else
2722+
2723
M9 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2724-
'*********UTENSILE SPECIAlE NON SIMMETRICO E NON INDEX
2724+
2725
NA = INPUT_NUM(NND, "NA", NA, ACT_MOD)
2726
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2727-
ANGOLO = Right(PEZ_2, Len(PEZ_2) - InStr(1, PEZ_2, "C"))
2727+
2728-
ANGOLO = Left(ANGOLO, InStr(1, ANGOLO, ".") - 1)
2728+
2729-
ANGOLO_OLD = ANGOLO
2729+
Select Case ver
2730
Case 1
2731-
Select Case ANGOLO
2731+
AGG = 1
2732-
Case "0"
2732+
2733-
ANGOLO = "180"
2733+
AGG = 1 '2
2734-
Case "180"
2734+
2735-
ANGOLO = "0"
2735+
MsgBox ("ERRORE VERSIONE SU " & ACT_MOD)
2736-
Case "90"
2736+
2737-
ANGOLO = "-90"
2737+
2738-
Case "-90"
2738+
2739-
ANGOLO = "90"
2739+
2740
R01 = T_SLOT(MR_X(H - 22 - 95, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2741-
MsgBox (("ERRORE ANGOLO 5RD"))
2741+
R01 = R01 & T_SLOT(MR_X(H - 22 - 95 - 658.5, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2742
R01 = R01 & T_SLOT(MR_X(H - 22 - M7, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2743
R01 = R01 & T_SLOT(MR_X(H - 22 - M8, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2744
R01 = R01 & T_SLOT(MR_X(M9 + 22, H, AGG), L - 20 - 13 + 3, 14, 9, 0)
2745-
TOTO = Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)
2745+
2746-
For RA1 = 1 To 46
2746+
R02 = ""
2747-
If TOOL_VAR(NHD, RA1, 1) = TOTO Then
2747+
2748-
NM_LG = TOOL_VAR(NHD, RA1, 3)
2748+
R04 = ""
2749-
End If
2749+
For P = 1 To (NA + 1)
2750-
Next RA1
2750+
R02 = R02 & T_SLOT(MR_X(H - 22 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 3, 16, 3.2, 0)
2751
R03 = R03 & T_SLOT(MR_X(H - 22 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 6.3 - 3, 16, 3.2, 0)
2752
R04 = R04 & T_SLOT(MR_X(H - 22 - 56 - 19 * (P - 1), H, AGG), 20 + 35 - 11.2 - 6.3 - 6.3 - 3, 16, 3.2, 0)
2753-
PR_TL = 0
2753+
Next P
2754-
For RA = 1 To 46
2754+
2755-
If TOOL_VAR(NHD, RA, 3) = NM_LG And TOOL_VAR(NHD, RA, 5) = ANGOLO Then
2755+
R05A = T_SLOT(MR_X(6.25, H, AGG), L - (20 + 32 - 3), 21.5, 9, 0)
2756-
TORR = TOOL_VAR(NHD, RA, 1)
2756+
If M4 > 0 Then R05B = T_SLOT(MR_X(6.25, H, AGG), L - (20 + M4 - 3), 21.5, 9, 0) Else R05B = ""
2757-
PR_TL = 1
2757+
If M3 > 0 Then R05C = T_SLOT(MR_X(6.25, H, AGG), L - (20 + M3 - 3), 21.5, 9, 0) Else R05C = ""
2758-
Exit For
2758+
R05 = R05A & R05B & R05C
2759-
End If
2759+
2760-
Next RA
2760+
If M10 > 0 Then R06 = T_RECT1(MR_X(-2.5, H, AGG), MR_X(M10, H, AGG), L - 20 - 110 - 30, L - 20 - 110)
2761
2762-
If PR_TL = 0 Then
2762+
R07A = T_SLOT(MR_X(H - 6.25, H, AGG), L - 20 - 48 + 3, 21.5, 9, 0)
2763-
MsgBox ("NON TROVATO UTENSILE 5RD CON ANGOLO " & ANGOLO)
2763+
If M5 > 0 Then R07B = T_SLOT(MR_X(H - 6.25, H, AGG), L - 20 - M5 + 3, 21.5, 9, 0) Else R07B = ""
2764-
GoTo PROS_LAV3
2764+
If M6 > 0 Then R07C = T_SLOT(MR_X(H - 6.25, H, AGG), L - 20 - M6 + 3, 21.5, 9, 0) Else R07C = ""
2765-
End If
2765+
R07 = R07A & R07B & R07C
2766
2767-
PEZ_2 = Replace(PEZ_2, "C" & ANGOLO_OLD, "C" & ANGOLO)
2767+
R08 = T_RECT1(MR_X(-6, H, AGG), MR_X(22, H, AGG), -6, 20) & T_RECT1(MR_X(-0.6, H, AGG), MR_X(22, H, AGG), L - 18 - 20 + 3, L + 6) & T_RECT1(MR_X(H - 22, H, AGG), MR_X(H + 0.6, H, AGG), -6, 20 + 35 + 10 - 6) & T_RECT1(MR_X(H - 22, H, AGG), MR_X(H + 0.6, H, AGG), L - 20 - 30 + 3, L + 6)
2768-
PEZ_2 = Replace(PEZ_2, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4), TORR)
2768+
2769
2770-
If InStr(1, PEZ_2, "X") > 0 Then
2770+
2771-
CRD_X = Mid(PEZ_2, InStr(1, PEZ_2, "X") + 1, InStr(InStr(1, PEZ_2, "X"), PEZ_2, "/") - 1)
2771+
R09 = T_SLOT(MR_X(22 - 1.5, H, AGG), 20 - 1, 7, 2, 0) & T_SLOT(MR_X(22 - 1.5, H, AGG), L - 20 - 18 + 3 + 1, 7, 2, 0) & T_SLOT(MR_X(H - (22 - 1.5), H, AGG), L - 20 - 30 + 3 + 1, 7, 2, 0) & T_SLOT(MR_X(H - (22 - 1.5), H, AGG), 20 + 35 + 10 - 1 - 6, 7, 2, 0)
2772-
CRD_X = LENGHT - Val(CRD_X)
2772+
2773-
CRD_Y = Mid(PEZ_2, InStr(1, PEZ_2, "Y") + 1, InStr(InStr(1, PEZ_2, "Y"), PEZ_2, "/") - 1)
2773+
SMS = 1.5
2774-
CRD_Y = WIDTH - Val(CRD_Y)
2774+
R10A = T_SMUS(MR_X(-SMS, H, AGG), 20 - SMS) & T_SMUS(MR_X(-SMS, H, AGG), L - 20 - 18 + 3 + SMS)
2775
R10B = T_SMUS(MR_X(H + SMS, H, AGG), L - 20 - 30 + 3 + SMS) & T_SMUS(MR_X(H + SMS, H, AGG), 20 + 35 + 10 - 6 - SMS)
2776-
NEW_LAV = Left(PEZ_2, InStr(1, PEZ_2, "X")) & Jcdf(CRD_X) & "/Y" & Jcdf(CRD_Y) & Right(PEZ_2, Len(PEZ_2) - InStr(InStr(1, PEZ_2, "Y"), PEZ_2, "/") + 1) 'LAVORAZIONE SPECCHIATA
2776+
R10 = R10A & R10B
2777
2778-
Else
2778+
R11 = T_SLOT(MR_X(10, H, AGG), 32, 14, 9, 0) & T_SMUS(MR_X(-SMS, H, AGG), 76 - SMS) & T_RECT1(MR_X(-6, H, AGG), MR_X(17, H, AGG), 42, 76) & T_SMUS(MR_X(18.45, H, AGG), 50.5) & T_SMUS(MR_X(18.45 - 3, H, AGG), 50.5 + 3) & T_SMUS(MR_X(18.45 - 3, H, AGG), 50.5 - 3)
2779-
PROS_LAV3:
2779+
'MODIFICA REV. E
2780-
NEW_LAV = PEZ_2
2780+
2781-
End If
2781+
fn = R01 & R02 & R03 & R04 & R05 & R06 & R07 & R08 & R09 & R10 & R11
2782
2783-
End If
2783+
2784
P2 = H - 400
2785
MVAL = 500
2786-
MR_VPR = MR_VPR & ST64(NEW_LAV) 'VPR SPECCHIATO
2786+
2787-
PEZ_LAV = Right(PEZ_LAV, Len(PEZ_LAV) - 64)
2787+
2788-
Next LV
2788+
If ver = 2 Then STRINGA = MIRROR(STRINGA, H, L, 1, 0)
2789
2790
Call SAVE_SUB(NND, STRINGA)
2791
2792-
MIRROR = PEZ_1 & MR_VPR
2792+
2793
Call CUT_END_S(H, L, "0", POSINTAB)
2794-
'****************************************FINE DOPPIA SPECCHIATURA
2794+
2795
Call CUT_END_S(H, L, "B", POSINTAB)
2796
Call FVTPT(3, NND, "B")
2797
Call CUT_END_S(H, L, "C", POSINTAB)
2798-
Case "10" '***********************************************************************************************SPECCHIATURA IN X
2798+
Call FVTPT(3, NND, "C")
2799
2800
End Sub
2801-
PEZ_1 = Left(STRINGA, InStr(1, STRINGA, "M5") + 63) 'STRINGA CON TORRETTA E INFO PEZZO
2801+
2802-
PEZ_LAV = Replace(STRINGA, PEZ_1, "")             'STRINGA CON LAVORAZIONI
2802+
2803
Sub S_1011908(ByVal NND As Integer)
2804-
For LV = 1 To quanteVolte(PEZ_LAV, ">")
2804+
ACT_MOD = "1011908"
2805-
PEZ_2 = Left(PEZ_LAV, InStr(1, PEZ_LAV, ">")) 'STRINGA SINGOLA LAVORAZIONE
2805+
2806
2807
L = INPUT_NUM(NND, "L", L, ACT_MOD)
2808-
If InStr(1, STAZ_NO_MRX, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)) = 0 Then
2808+
2809-
If InStr(1, PEZ_2, "X") > 0 Then
2809+
2810-
CRD_X = Mid(PEZ_2, InStr(1, PEZ_2, "X") + 1, InStr(InStr(1, PEZ_2, "X"), PEZ_2, "/") - 1)
2810+
2811-
CRD_X = LENGHT - Val(CRD_X)
2811+
2812
M4 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
2813
M3 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
2814-
If InStr(1, STAZ_INDEX, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)) > 0 Then 'SPECIALI INDEX
2814+
2815
M8 = INPUT_NUM(NND, "M6", M6, ACT_MOD)
2816-
ANG_TL = Mid(PEZ_2, InStr(1, PEZ_2, "C") + 1, InStr(InStr(1, PEZ_2, "C"), PEZ_2, "/") - InStr(1, PEZ_2, "C") - 1)
2816+
M9 = INPUT_NUM(NND, "M7", M7, ACT_MOD)
2817-
ANG_TL2 = Replace(ANG_TL, ".", "")
2817+
M6 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
2818-
NEW_ANG = 180 - Val(ANG_TL2)
2818+
M7 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2819-
If Val(NEW_ANG) > 180 Then NEW_ANG = 360 - Val(NEW_ANG)
2819+
2820-
If InStr(1, ANG_TL, "-") > 0 Then NEW_ANG = "-" & NEW_ANG
2820+
M12 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
2821
M11 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
2822-
If Len(NEW_ANG) < 4 Then NEW_ANG = Replace(NEW_ANG, ".", "") & "."
2822+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2823-
PEZ_2 = Replace(PEZ_2, "C" & ANG_TL, "C" & NEW_ANG)
2823+
2824
BKF1 = M11 - 25
2825-
End If
2825+
BKF2 = M12 - 25
2826
2827
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU" & ACT_MOD)
2828-
NEW_LAV = Left(PEZ_2, InStr(1, PEZ_2, "X")) & Jcdf(CRD_X) & Right(PEZ_2, Len(PEZ_2) - InStr(InStr(1, PEZ_2, "X"), PEZ_2, "/") + 1) 'LAVORAZIONE SPECCHIATA
2828+
2829
R01 = T_SLOT(100, 22, 14, 9, 0) & T_SLOT(220, 22, 14, 9, 0) & T_SLOT(H - 100, 22, 14, 9, 0) & T_SLOT(H - 220, 22, 14, 9, 0) & T_SLOT(H / 2 - M5 / 2, 22, 14, 9, 0) & T_SLOT(H / 2 + M5 / 2, 22, 14, 9, 0)
2830
R02 = T_SLOT(13, L - 10 - 58 - 21 + 6, 14, 9, 0) & T_SLOT(H - 13, L - 10 - 58 - 21 + 6, 14, 9, 0)
2831
2832-
Else
2832+
If BKF2 > 50 Then R03A = T_HEX(32, L - 10 - 55 + 15, 9.1) Else R03A = ""
2833
If M8 > 0 Then R03B = T_HEX(32 + M8, L - 10 - 55 + 15, 9.1) Else R03B = ""
2834-
NEW_LAV = PEZ_2
2834+
If M9 > 0 Then R03C = T_HEX(M9, L - 10 - 55 + 15, 9.1) Else R03C = ""
2835
If M12 > 0 Then R03D = T_SLOT(M12, L - 10 - 55 + 22, 14, 9, 0) Else R03D = ""
2836
R03 = R03A & R03B & R03C & R03D
2837-
If InStr(1, NEW_LAV, "G28") > 0 Then
2837+
2838-
If InStr(1, NEW_LAV, "J0.") > 0 Then
2838+
If BKF1 > 50 Then R04A = T_HEX(H - 32, L - 10 - 55 + 15, 9.1) Else R04A = ""
2839-
NEW_LAV = Replace(NEW_LAV, "J0.", "J180.")
2839+
If M6 > 0 Then R04B = T_HEX(H - 32 - M6, L - 10 - 55 + 15, 9.1) Else R04B = ""
2840-
GoTo FINE_ANGOLO_SCANT
2840+
If M7 > 0 Then R04C = T_HEX(H - M7, L - 10 - 55 + 15, 9.1) Else R04C = ""
2841-
End If
2841+
If M11 > 0 Then R04D = T_SLOT(H - M11, L - 10 - 55 + 22, 14, 9, 0) Else R04D = ""
2842-
If InStr(1, NEW_LAV, "J180.") > 0 Then
2842+
R04 = R04A & R04B & R04C & R04D
2843-
NEW_LAV = Replace(NEW_LAV, "J180.", "J0.")
2843+
2844-
GoTo FINE_ANGOLO_SCANT
2844+
R05 = T_SLOT(M4 - 1, L - 27.5, 11, 2, 90) & T_SLOT(M4 + M2 + 1, L - 27.5, 11, 2, 90)
2845-
End If
2845+
'ALTEZZA SCANTONATURA 23 mm
2846-
If InStr(1, NEW_LAV, "J-0.") > 0 Then
2846+
'DA FARE IL BLOCCO
2847-
NEW_LAV = Replace(NEW_LAV, "J-0.", "J-180.")
2847+
2848-
GoTo FINE_ANGOLO_SCANT
2848+
2849-
End If
2849+
2850-
If InStr(1, NEW_LAV, "J-180.") > 0 Then
2850+
2851-
NEW_LAV = Replace(NEW_LAV, "J-0.", "J-0.")
2851+
2852-
GoTo FINE_ANGOLO_SCANT
2852+
2853-
End If
2853+
2854-
End If
2854+
2855
Call SAVE_SUB(NND, STRINGA)
2856
2857-
If InStr(1, NEW_LAV, "G37") > 0 Then
2857+
2858-
If InStr(1, NEW_LAV, "I-") > 0 Then
2858+
2859-
NEW_LAV = Replace(NEW_LAV, "I-", "I")
2859+
2860-
GoTo FINE_ANGOLO_SCANT
2860+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
2861-
End If
2861+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
2862-
If InStr(1, NEW_LAV, "I") > 0 Then
2862+
    STR_OUT(2) = TL_CLN
2863-
NEW_LAV = Replace(NEW_LAV, "I", "I-")
2863+
    STR_OUT(3) = "TOOLANGLE(0)"
2864-
GoTo FINE_ANGOLO_SCANT
2864+
    STR_OUT(4) = "MIDCUT(N)"
2865-
End If
2865+
    STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(-6) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M4) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2866-
End If
2866+
    STR_OUT(6) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H - M3) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H + 6) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2867
    STR_OUT(7) = TL_CUT_O
2868
    STR_OUT(8) = "TOOLANGLE(0)"
2869-
FINE_ANGOLO_SCANT:
2869+
    STR_OUT(9) = "MIDCUT(N)"
2870-
End If
2870+
    STR_OUT(10) = UnloadOutline(110, 6, SCN_X, -6, H, L)
2871-
Else
2871+
    STR_OUT(11) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
2872-
'*********UTENSILE SPECIAlE NON SIMMETRICO E NON INDEX
2872+
    STR_OUT(12) = "'FINE BLOCCO"
2873
2874
Call FVTPT(3, NND, "")
2875-
ANGOLO = Right(PEZ_2, Len(PEZ_2) - InStr(1, PEZ_2, "C"))
2875+
2876-
ANGOLO = Left(ANGOLO, InStr(1, ANGOLO, ".") - 1)
2876+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
2877-
ANGOLO_OLD = ANGOLO
2877+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
2878
    STR_OUT(2) = TL_CLN
2879-
Select Case ANGOLO
2879+
    STR_OUT(3) = "TOOLANGLE(0)"
2880-
Case "0"
2880+
    STR_OUT(4) = "MIDCUT(N)"
2881-
ANGOLO = "-90"
2881+
    STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(-6) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M4) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2882-
Case "180"
2882+
    STR_OUT(6) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H - M3) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H + 6) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2883-
ANGOLO = "90"
2883+
    STR_OUT(7) = TL_CUT_V
2884-
Case "90"
2884+
    STR_OUT(8) = "TOOLANGLE(90)"
2885-
ANGOLO = "180"
2885+
    STR_OUT(9) = "MIDCUT(N)"
2886-
Case "-90"
2886+
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & 0 & "," & Jcdf(L) & "," & 0 & "," & Jcdf(0) & ",-6,-6,0,M0))"
2887-
ANGOLO = "0"
2887+
    STR_OUT(11) = TL_CUT_O
2888
    STR_OUT(12) = "TOOLANGLE(0)"
2889-
MsgBox (("ERRORE ANGOLO 5RD"))
2889+
    STR_OUT(13) = "MIDCUT(N)"
2890
    STR_OUT(14) = UnloadOutline(110, 6, SCN_X, -6, H, L)
2891
    STR_OUT(15) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
2892
    STR_OUT(16) = "'FINE BLOCCO"
2893-
TOTO = Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)
2893+
    
2894-
For RA1 = 1 To 46
2894+
Call FVTPT(3, NND, "C")
2895-
If TOOL_VAR(NHD, RA1, 1) = TOTO Then
2895+
2896-
NM_LG = TOOL_VAR(NHD, RA1, 3)
2896+
2897-
End If
2897+
2898-
Next RA1
2898+
2899
2900
2901
Sub S_1011060(ByVal NND As Integer)
2902-
PR_TL = 0
2902+
ACT_MOD = "1011060"
2903-
For RA = 1 To 46
2903+
2904-
If TOOL_VAR(NHD, RA, 3) = NM_LG And TOOL_VAR(NHD, RA, 5) = ANGOLO Then
2904+
2905-
TORR = TOOL_VAR(NHD, RA, 1)
2905+
2906-
PR_TL = 1
2906+
2907-
Exit For
2907+
2908-
End If
2908+
2909-
Next RA
2909+
2910
M4 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
2911-
If PR_TL = 0 Then
2911+
M3 = INPUT_NUM(NND, "M4", M4, ACT_MOD)
2912-
MsgBox ("NON TROVATO UTENSILE 5RD CON ANGOLO " & ANGOLO)
2912+
2913-
GoTo PROS_LAV
2913+
2914-
End If
2914+
2915
M10 = INPUT_NUM(NND, "M8", M8, ACT_MOD)
2916-
PEZ_2 = Replace(PEZ_2, "C" & ANGOLO_OLD, "C" & ANGOLO)
2916+
M11 = INPUT_NUM(NND, "M9", M9, ACT_MOD)
2917-
PEZ_2 = Replace(PEZ_2, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4), TORR)
2917+
M8 = INPUT_NUM(NND, "M10", M10, ACT_MOD)
2918
M9 = INPUT_NUM(NND, "M11", M11, ACT_MOD)
2919-
If InStr(1, PEZ_2, "X") > 0 Then
2919+
M12 = INPUT_NUM(NND, "M12", M12, ACT_MOD)
2920-
CRD_X = Mid(PEZ_2, InStr(1, PEZ_2, "X") + 1, InStr(InStr(1, PEZ_2, "X"), PEZ_2, "/") - 1)
2920+
M14 = INPUT_NUM(NND, "M13", M13, ACT_MOD)
2921-
CRD_X = LENGHT - Val(CRD_X)
2921+
M13 = INPUT_NUM(NND, "M14", M14, ACT_MOD)
2922-
PEZ_2 = Left(PEZ_2, InStr(1, PEZ_2, "X")) & Jcdf(CRD_X) & Right(PEZ_2, Len(PEZ_2) - InStr(InStr(1, PEZ_2, "X"), PEZ_2, "/") + 1)
2922+
M15 = INPUT_NUM(NND, "M15", M15, ACT_MOD)
2923-
End If
2923+
ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
2924
2925-
PROS_LAV:
2925+
2926-
NEW_LAV = PEZ_2
2926+
2927-
'***************************
2927+
2928-
End If
2928+
HKK = M1 - 48
2929
 
2930
If (M2 + M3 + M4) <> H Then MsgBox ("TAGLIO TRAVERSA ENTRANCE ERRATO SU" & ACT_MOD)
2931
2932
2933-
MR_VPR = MR_VPR & ST64(NEW_LAV) 'VPR SPECCHIATO
2933+
R01 = T_CIRC(100, 14, 14) & T_CIRC(H - 100, 14, 14) & T_CIRC(H / 2 - M5 / 2, 14, 14) & T_CIRC(H / 2 + M5 / 2, 14, 14)
2934-
PEZ_LAV = Right(PEZ_LAV, Len(PEZ_LAV) - 64)
2934+
R02 = T_SLOT(380.25, 5.5, 17.5, 6.5, 90) & T_SLOT(H - 380.25, 5.5, 17.5, 6.5, 90) & T_SLOT(380.25 + M6, 5.5, 17.5, 6.5, 90) & T_SLOT(H - 380.25 - M7, 5.5, 17.5, 6.5, 90)
2935
If HKK = 139 Then R03 = T_CIRC(13, 14 + M15, 14) & T_CIRC(H - 13, 14 + M15, 14) Else R03 = ""
2936-
Next LV
2936+
2937
R04A = T_HEX(32, L - 10 - 58 + 3 + 15, 9.1)
2938
If M11 > 0 Then R04B = T_HEX(M11, L - 10 - 58 + 3 + 15, 9.1) Else R04B = ""
2939
If M10 > 0 Then R04C = T_HEX(M10, L - 10 - 58 + 3 + 15, 9.1) Else R04C = ""
2940-
MIRROR = PEZ_1 & MR_VPR
2940+
R04D = T_SLOT(M14, L - 10 - 58 + 3 + 20, 14, 9, 0)
2941
R04 = R04A & R04B & R04C & R04D
2942-
'***********************************************FINE SPECCHIATURA IN X
2942+
2943
R05A = T_HEX(H - 32, L - 10 - 58 + 3 + 15, 9.1)
2944
If M9 > 0 Then R05B = T_HEX(H - M9, L - 10 - 58 + 3 + 15, 9.1) Else R05B = ""
2945
If M8 > 0 Then R05C = T_HEX(H - M8, L - 10 - 58 + 3 + 15, 9.1) Else R05C = ""
2946-
Case "01" '****************************************************************************************************SPECCHIATURA IN Y
2946+
R05D = T_SLOT(H - M13, L - 10 - 58 + 3 + 20, 14, 9, 0)
2947
R05 = R05A & R05B & R05C & R05D
2948
2949-
PEZ_1 = Left(STRINGA, InStr(1, STRINGA, "M5") + 63) 'STRINGA CON TORRETTA E INFO PEZZO
2949+
R06 = T_SLOT(M4 - 1, L - 27.5, 11, 2, 90) & T_SLOT(M4 + M2 + 1, L - 27.5, 11, 2, 90)
2950-
PEZ_LAV = Replace(STRINGA, PEZ_1, "")             'STRINGA CON LAVORAZIONI
2950+
'ALTEZZA SCANTONATURA 23 mm
2951
'DA FARE IL BLOCCO
2952-
For LV = 1 To quanteVolte(PEZ_LAV, ">")
2952+
2953-
PEZ_2 = Left(PEZ_LAV, InStr(1, PEZ_LAV, ">")) 'STRINGA SINGOLA LAVORAZIONE
2953+
2954
fn = R01 & R02 & R03 & R04 & R05 & R06
2955-
If InStr(1, STAZ_NO_MR, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)) = 0 Then
2955+
2956-
If InStr(1, PEZ_2, "Y") > 0 Then
2956+
2957-
CRD_Y = Mid(PEZ_2, InStr(1, PEZ_2, "Y") + 1, InStr(InStr(1, PEZ_2, "Y"), PEZ_2, "/") - 1)
2957+
2958-
CRD_Y = WIDTH - Val(CRD_Y)
2958+
2959
STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
2960
2961
Call SAVE_SUB(NND, STRINGA)
2962-
If InStr(1, STAZ_INDEX, Mid(PEZ_2, InStr(1, PEZ_2, "T"), 4)) > 0 Then 'SPECIALI INDEX
2962+
2963
POSINTAB = def_posintab(NND)
2964-
ANG_TL = Mid(PEZ_2, InStr(1, PEZ_2, "C") + 1, InStr(InStr(1, PEZ_2, "C"), PEZ_2, "/") - InStr(1, PEZ_2, "C") - 1)
2964+
2965-
ANG_TL2 = Replace(ANG_TL, ".", "")
2965+
2966-
NEW_ANG = 0 - Val(ANG_TL2)
2966+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
2967-
If Val(NEW_ANG) > 180 Then NEW_ANG = 360 - Val(NEW_ANG)
2967+
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
2968-
'If InStr(1, ANG_TL, "-") > 0 Then NEW_ANG = "-" & NEW_ANG
2968+
    STR_OUT(2) = TL_CLN
2969
    STR_OUT(3) = "TOOLANGLE(0)"
2970-
If Len(NEW_ANG) < 4 Then NEW_ANG = Replace(NEW_ANG, ".", "") & "."
2970+
    STR_OUT(4) = "MIDCUT(N)"
2971-
PEZ_2 = Replace(PEZ_2, "C" & ANG_TL, "C" & NEW_ANG)
2971+
    STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(-6) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M4) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2972
    STR_OUT(6) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H - M3) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H + 6) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2973-
End If
2973+
    STR_OUT(7) = TL_CUT_O
2974
    STR_OUT(8) = "TOOLANGLE(0)"
2975
    STR_OUT(9) = "MIDCUT(N)"
2976-
NEW_LAV = Left(PEZ_2, InStr(1, PEZ_2, "Y")) & Jcdf(CRD_Y) & Right(PEZ_2, Len(PEZ_2) - InStr(InStr(1, PEZ_2, "Y"), PEZ_2, "/") + 1) 'LAVORAZIONE SPECCHIATA
2976+
    STR_OUT(10) = UnloadOutline(110, 6, SCN_X, -6, H, L)
2977
    STR_OUT(11) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
2978
    STR_OUT(12) = "'FINE BLOCCO"
2979
    
2980-
Else
2980+
2981
2982-
NEW_LAV = PEZ_2
2982+
    STR_OUT(0) = TablePosition(H, L, 0, 0, POSINTAB)
2983
    STR_OUT(1) = "'INIZIO BLOCCO=ABABAB"
2984
    STR_OUT(2) = TL_CLN
2985-
If InStr(1, NEW_LAV, "G28") > 0 Then
2985+
    STR_OUT(3) = "TOOLANGLE(0)"
2986-
If InStr(1, NEW_LAV, "J-90.") > 0 Then
2986+
    STR_OUT(4) = "MIDCUT(N)"
2987-
NEW_LAV = Replace(NEW_LAV, "J-90.", "J90.")
2987+
    STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(-6) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(M4) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2988-
GoTo FINE_ANGOLO_SCANT2
2988+
    STR_OUT(6) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H - M3) & "," & Jcdf(L - 23 + 50) & "," & Jcdf(H + 6) & "," & Jcdf(L - 23 + 50) & ",0,0,0,M0))"
2989-
End If
2989+
    STR_OUT(7) = TL_CUT_V
2990-
If InStr(1, NEW_LAV, "J90.") > 0 Then
2990+
    STR_OUT(8) = "TOOLANGLE(90)"
2991-
NEW_LAV = Replace(NEW_LAV, "J90.", "J-90.")
2991+
    STR_OUT(9) = "MIDCUT(N)"
2992-
GoTo FINE_ANGOLO_SCANT2
2992+
    STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & 0 & "," & Jcdf(L) & "," & 0 & "," & Jcdf(0) & ",-6,-6,0,M0))"
2993-
End If
2993+
    STR_OUT(11) = TL_CUT_O
2994-
If InStr(1, NEW_LAV, "J270.") > 0 Then
2994+
    STR_OUT(12) = "TOOLANGLE(0)"
2995-
NEW_LAV = Replace(NEW_LAV, "J270.", "J-270.")
2995+
    STR_OUT(13) = "MIDCUT(N)"
2996-
GoTo FINE_ANGOLO_SCANT2
2996+
    STR_OUT(14) = UnloadOutline(110, 6, SCN_X, -6, H, L)
2997-
End If
2997+
    STR_OUT(15) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(H) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, H, L, 0, 0)
2998-
If InStr(1, NEW_LAV, "J-270.") > 0 Then
2998+
    STR_OUT(16) = "'FINE BLOCCO"
2999-
NEW_LAV = Replace(NEW_LAV, "J-270.", "J270.")
2999+
    
3000-
GoTo FINE_ANGOLO_SCANT2
3000+
Call FVTPT(3, NND, "C")
3001-
End If
3001+
3002-
End If
3002+
3003
3004
End Sub
3005-
If InStr(1, NEW_LAV, "G37") > 0 Then
3005+
3006-
If InStr(1, NEW_LAV, "J-") > 0 Then
3006+
3007-
NEW_LAV = Replace(NEW_LAV, "J-", "J")
3007+
3008-
GoTo FINE_ANGOLO_SCANT2
3008+
3009-
End If
3009+