SHOW:
|
|
- or go back to the newest paste.
1 | - | 'Ante2 |
1 | + | 'Coprifessura |
2 | ||
3 | - | Function T_PAT(ByVal XC As Double, ByVal YC As Double) |
3 | + | Sub S_1014688A(ByVal NND As Integer) |
4 | ACT_MOD = "1014688" | |
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 | ||
13 | - | T_PAT = T_SPECIAL(XC, YC, "PATTINO-FNL", ACC) |
13 | + | '************************************* SCRITTURA LISTATO |
14 | ||
15 | - | End Function |
15 | + | XSC = 12 - 2 * SPS |
16 | YSCINF = 12 + 1.75 - 2 * SPS 'MOD | |
17 | YSCSUP = YSCINF + 19 'MOD | |
18 | DSTA = (L - M2) / 2 | |
19 | - | Sub S_1017132A(ByVal NND As Integer) |
19 | + | QQ = 15 |
20 | - | ACT_MOD = "1017132" |
20 | + | |
21 | - | CLAMP = 1 |
21 | + | 'R01A = T_RECT1(QQ - XSC, XSC, QQ - YSCINF, YSCINF) & T_RECT1(QQ - XSC, XSC, YSCSUP, H + 3) |
22 | 'R01B = T_RECT1(L - XSC, L + (QQ - XSC), YSCSUP, H + 3) & T_RECT1(L - XSC, L + (QQ - XSC), QQ - YSCINF, YSCINF) | |
23 | ||
24 | R01A = T_RECT1(XSC - QQ, XSC, YSCINF - QQ, YSCINF) & T_RECT1(XSC - QQ, XSC, YSCSUP, H + 3) | |
25 | R01B = T_RECT1(L - XSC, L + (QQ - XSC), YSCSUP, H + 3) & T_RECT1(L - XSC, L + (QQ - XSC), YSCINF - QQ, YSCINF) | |
26 | R01 = R01A & R01B | |
27 | ||
28 | R02A = T_CIRC(XSC, YSCINF, 3.3) & T_CIRC(XSC, YSCSUP, 3.3) | |
29 | - | M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD) |
29 | + | R02B = T_CIRC(L - XSC, YSCINF, 3.3) & T_CIRC(L - XSC, YSCSUP, 3.3) |
30 | - | M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD) |
30 | + | R02 = R02A & R02B |
31 | - | M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD) |
31 | + | |
32 | - | M6 = INPUT_NUM(NND, "M6", M6, ACT_MOD) |
32 | + | R03 = T_SLOT(DSTA, H - 8, 14, 5, 90) & T_SLOT(L - DSTA, H - 8, 14, 5, 90) |
33 | - | BT = INPUT_NUM(NND, "BT", BT, ACT_MOD) |
33 | + | |
34 | - | LA = INPUT_NUM(NND, "LA", LA, ACT_MOD) |
34 | + | '''R04A = T_RECT1(XSC + 40, L - XSC - 40, H - 10, H + 5) 'faccio passata con 15x15 |
35 | - | VV = INPUT_STR(NND, "VER.", VV, ACT_MOD) |
35 | + | |
36 | - | If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD) |
36 | + | '''R04 = R04A '& R04B & R04C |
37 | ||
38 | R05A = T_RAD(XSC, 0, 3) & T_RAD(0, YSCINF, 3) & T_RAD(L - XSC, 0, 4) & T_RAD(L, YSCINF, 4) | |
39 | R05B = T_RAD(0, YSCSUP, 2) & T_RAD(L, YSCSUP, 1) | |
40 | R05C = T_RAD(XSC, H, 2) & T_RAD(L - XSC, H, 1) & T_RAD(XSC + 40, H, 1) & T_RAD(L - XSC - 40, H, 2) | |
41 | - | SCS = 6 |
41 | + | R05 = R05A & R05B & R05C |
42 | - | If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1 |
42 | + | |
43 | ||
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 | P1 = L / 2 - 85 | |
47 | - | R01 = R01 & T_CIRC(46, L - 5, 4.5) |
47 | + | P2 = L / 2 + 85 |
48 | - | R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10) |
48 | + | |
49 | - | R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M2 - 4 * SPS), 10) |
49 | + | STRINGA = R000(NHD, NND, SPS, L, H, P1, P2, MVAL) & fn |
50 | - | R01 = R01 & T_CIRC(4, L - (14 + BT + 158 - 4 * SPS), 10) |
50 | + | |
51 | - | R01 = R01 & T_RECT1(-7, 3, L - (14 + BT + 158 + 5 - 4 * SPS), L - (14 + BT + 158 - 5 - 4 * SPS)) |
51 | + | |
52 | - | R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M6 - 4 * SPS), 10) |
52 | + | |
53 | - | R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + M1 - 4 * SPS), 10) |
53 | + | |
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 | + | STR_OUT(0) = TablePosition(L, H, 0, 0, POSINTAB) |
56 | - | R01 = R01 & T_CIRC(121 + 55, L - (14 + BT + M5 - 4 * SPS), 20) 'SERVE IL TONDO Ø19.5 |
56 | + | STR_OUT(1) = "'INIZIO BLOCCO=ABABAB" |
57 | STR_OUT(2) = "TOOL(QUADRO,C696,A0,15)" | |
58 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS) |
58 | + | STR_OUT(3) = "TOOLANGLE(0)" |
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 | + | STR_OUT(4) = "MIDCUT(N)" |
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 | + | STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(XSC + 40) & "," & Jcdf(H - 10 + 15) & "," & Jcdf(L - XSC - 40) & "," & Jcdf(H - 10 + 15) & ",0,0,0,M0))" |
61 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS)) |
61 | + | STR_OUT(6) = TL_CUT_O |
62 | STR_OUT(7) = "TOOLANGLE(0)" | |
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 | + | STR_OUT(8) = "MIDCUT(N)" |
64 | - | R01 = R01 & T_BLQ(0, L - (14 + BT + 4 + 5 - 4 * SPS), 5, L - (14 + BT + 4 - 4 * SPS), 1, 1) |
64 | + | STR_OUT(9) = UnloadOutline(110, 6, 0, -6, L, H) |
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 | + | STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(L) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, L, H, 0, 0) |
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 | + | STR_OUT(11) = "'FINE BLOCCO" |
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 | ||
70 | - | YY1 = 14 + BT + 32 - 4 * SPS |
70 | + | |
71 | STR_OUT(0) = TablePosition(L, H, 0, 0, POSINTAB) | |
72 | - | R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3) |
72 | + | STR_OUT(1) = "'INIZIO BLOCCO=ABABAB" |
73 | STR_OUT(2) = "TOOL(QUADRO,C696,A0,15)" | |
74 | STR_OUT(3) = "TOOLANGLE(0)" | |
75 | - | Select Case VV |
75 | + | STR_OUT(4) = "MIDCUT(N)" |
76 | - | Case 1, 2 |
76 | + | STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(XSC + 40) & "," & Jcdf(H - 10 + 15) & "," & Jcdf(L - XSC - 40) & "," & Jcdf(H - 10 + 15) & ",0,0,0,M0))" |
77 | - | SPEK = 0 |
77 | + | STR_OUT(6) = TL_CUT_V2 |
78 | - | Case 3, 4 |
78 | + | STR_OUT(7) = "TOOLANGLE(90)" |
79 | - | SPEK = 1 |
79 | + | STR_OUT(8) = "MIDCUT(N)" |
80 | - | Case Else |
80 | + | STR_OUT(9) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(H) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))" |
81 | - | MsgBox "ERRORE VALORE VV " & ACT_MOD, vbCritical |
81 | + | STR_OUT(10) = TL_CUT_O |
82 | - | End Select |
82 | + | STR_OUT(11) = "TOOLANGLE(0)" |
83 | STR_OUT(12) = "MIDCUT(N)" | |
84 | - | fn = R01 & R02 & R04 |
84 | + | STR_OUT(13) = UnloadOutline(110, 6, 0, -6, L, H) |
85 | STR_OUT(14) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(L) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, L, H, 0, 0) | |
86 | - | P2 = H - 400 |
86 | + | STR_OUT(15) = "'FINE BLOCCO" |
87 | ||
88 | - | STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn |
88 | + | |
89 | - | STRINGA = MIRROR(STRINGA, H, L, 0, SPEK) |
89 | + | Call FVTPT(3, NND, "C") |
90 | ||
91 | End Sub | |
92 | ||
93 | Sub S_1007069A(ByVal NND As Integer) | |
94 | - | Call CUT_END_S(H, L, "0", POSINTAB) |
94 | + | ACT_MOD = "1007069" |
95 | CLAMP = 0 | |
96 | - | Call CUT_END_S(H, L, "B", POSINTAB) |
96 | + | |
97 | ||
98 | L = INPUT_NUM(NND, "L", L, ACT_MOD) | |
99 | H = INPUT_NUM(NND, "H", H, ACT_MOD) | |
100 | SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10 | |
101 | M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD) | |
102 | M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD) | |
103 | - | Sub S_1017011A(ByVal NND As Integer) |
103 | + | |
104 | - | ACT_MOD = "1017011" |
104 | + | |
105 | - | CLAMP = 1 |
105 | + | |
106 | ||
107 | ||
108 | SCA = (H - 18) / 2 'SCARICO RETTANGOLARE | |
109 | ||
110 | R01 = T_RECT1(L - 11.6, L + 3.4, -6, SCA) | |
111 | R01 = R01 & T_RECT1(L - 11.6, L + 3.4, H - SCA, H + 6) | |
112 | ||
113 | - | M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD) |
113 | + | R01 = R01 & T_CIRC(L - 11.6, SCA, 3.3) |
114 | - | M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD) |
114 | + | R01 = R01 & T_CIRC(L - 11.6, H - SCA, 3.3) |
115 | - | M5 = INPUT_NUM(NND, "M5", M5, ACT_MOD) |
115 | + | R01 = R01 & T_CIRC(55.5, H - 5, 4.2) |
116 | - | BT = INPUT_NUM(NND, "BT", BT, ACT_MOD) |
116 | + | R01 = R01 & T_CIRC(55.5 + 10, H - 5, 4.2) |
117 | - | LA = INPUT_NUM(NND, "LA", LA, ACT_MOD) |
117 | + | R01 = R01 & T_CIRC(55.5, 5, 4.2) |
118 | - | VV = INPUT_STR(NND, "VER.", VV, ACT_MOD) |
118 | + | R01 = R01 & T_CIRC(55.5 + 10, 5, 4.2) |
119 | - | If VV = "" Then VV = INPUT_STR(NND, "VER", VV, ACT_MOD) |
119 | + | R01 = R01 & T_CIRC(55.5 + M2, H - 5, 4.2) |
120 | R01 = R01 & T_CIRC(55.5 + M2 + 10, H - 5, 4.2) | |
121 | R01 = R01 & T_CIRC(55.5 + M2, 5, 4.2) | |
122 | R01 = R01 & T_CIRC(55.5 + M2 + 10, 5, 4.2) | |
123 | ||
124 | - | SCS = 6 |
124 | + | R01 = R01 & T_RAD(4.5, H + 1.5, 4) 'RAGGIATORE PER SCASSO |
125 | - | If SPS = 1.8 Then ECSP = 0.4 Else ECSP = 1 |
125 | + | R01 = R01 & T_RAD(5, H + 1.5, 4) 'RAGGIATORE PER SCASSO |
126 | R01 = R01 & T_RAD(5.5, H + 1.5, 4) 'RAGGIATORE PER SCASSO | |
127 | - | R01 = T_RECT1(-SCS, 26, -SCS + ECSP, L - (14 + BT + LA + 13 - 6 * SPS)) |
127 | + | R01 = R01 & T_RAD(6, H + 1.5, 4) 'RAGGIATORE PER SCASSO |
128 | - | R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (14 + BT + 4 - 4 * SPS), L + SCS) |
128 | + | |
129 | R01 = R01 & T_RAD(4.5 + 10, H + 1.5, 4) 'RAGGIATORE PER SCASSO | |
130 | - | R01 = R01 & T_CIRC(46, L - 5, 4.2) |
130 | + | R01 = R01 & T_RAD(5 + 10, H + 1.5, 4) 'RAGGIATORE PER SCASSO |
131 | - | R01 = R01 & T_CIRC(13, L - (14 + BT + M4 - 4 * SPS), 10) |
131 | + | R01 = R01 & T_RAD(5.5 + 10, H + 1.5, 4) 'RAGGIATORE PER SCASSO |
132 | - | R01 = R01 & T_CIRC(13, L - (14 + BT + M4 + 45 - 4 * SPS), 10) |
132 | + | R01 = R01 & T_RAD(6 + 10, H + 1.5, 4) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RECT1(-0.8, 6, H - 1, H + 5.8) 'ATTENZIONE |
135 | - | R02 = T_CIRC(13, L - (14 + BT + M4 + M1 - M5 - 4 * SPS), 10) |
135 | + | R01 = R01 & T_RECT1(11, 11 + 6.8, H - 1, H + 5.8) |
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 | + | R01 = R01 & T_RAD(4.5, -1.5, 1) 'RAGGIATORE PER SCASSO |
138 | - | R01 = R01 & T_CIRC(121, L - (14 + BT + M2 - 4 * SPS), 20) 'SERVE IL TONDO Ø20.2 |
138 | + | R01 = R01 & T_RAD(5, -1.5, 1) 'RAGGIATORE PER SCASSO |
139 | - | R01 = R01 & T_CIRC(121 + 55, L - (14 + BT + M2 - 4 * SPS), 20) 'SERVE IL TONDO Ø19.5 |
139 | + | R01 = R01 & T_RAD(5.5, -1.5, 1) 'RAGGIATORE PER SCASSO |
140 | R01 = R01 & T_RAD(6, -1.5, 1) 'RAGGIATORE PER SCASSO | |
141 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (14 + BT + 4 - 4 * SPS), L + SCS) |
141 | + | |
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 = R01 & T_RAD(4.5 + 10, -1.5, 1) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RAD(5 + 10, -1.5, 1) 'RAGGIATORE PER SCASSO |
144 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, -SCS, L - (14 + BT + LA - 4 - 4 * SPS)) |
144 | + | R01 = R01 & T_RAD(5.5 + 10, -1.5, 1) 'RAGGIATORE PER SCASSO |
145 | R01 = R01 & T_RAD(6 + 10, -1.5, 1) 'RAGGIATORE PER SCASSO | |
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 | + | R01 = R01 & T_RECT1(-0.8, 6, -5.8, 1) |
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 | + | R01 = R01 & T_RECT1(11, 11 + 6.8, -5.8, 1) |
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 | + | fn = R01 |
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 = L - 400 | |
154 | - | YY1 = 14 + BT + 32 - 4 * SPS |
154 | + | |
155 | STRINGA = R000(NHD, NND, SPS, L, H, 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 | ||
159 | POSINTAB = def_posintab(NND) | |
160 | - | fn = R01 & R02 & R03 |
160 | + | Call CUT_END_S(L, H, "0", POSINTAB) |
161 | Call FVTPT(3, NND, "") | |
162 | - | P2 = H - 400 |
162 | + | Call CUT_END_S(L, H, "B", POSINTAB) |
163 | Call FVTPT(3, NND, "B") | |
164 | - | STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn |
164 | + | Call CUT_END_S(L, H, "C", POSINTAB) |
165 | Call FVTPT(3, NND, "C") | |
166 | ||
167 | ||
168 | End Sub | |
169 | - | Call CUT_END_S(H, L, "0", POSINTAB) |
169 | + | |
170 | ||
171 | - | Call CUT_END_S(H, L, "B", POSINTAB) |
171 | + | |
172 | Sub S_1026845A(ByVal NND As Integer) | |
173 | ACT_MOD = "1026845" | |
174 | CLAMP = 0 | |
175 | ||
176 | L = INPUT_NUM(NND, "L", L, ACT_MOD) | |
177 | - | Sub S_1015591A(ByVal NND As Integer) |
177 | + | |
178 | - | ACT_MOD = "1015591" |
178 | + | |
179 | - | CLAMP = 1 |
179 | + | |
180 | SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10 | |
181 | ||
182 | '************************************* SCRITTURA LISTATO | |
183 | ||
184 | R01 = T_RECT1(-4.6, 10.4, -2.8, 12.2) & T_RECT1(-4.6, 10.4, H - 15.2, H + 6) | |
185 | R02 = T_RECT1(L + 4.6, L - 10.4, -2.8, 12.2) & T_RECT1(L + 4.6, L - 10.4, H - 15.2, H + 6) | |
186 | - | M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD) |
186 | + | R03 = T_SLOT(30.4, H - 2.75, 10.5, 5, 90) & T_SLOT(30.4 + M2, H - 2.75, 10.5, 5, 90) |
187 | - | M4 = INPUT_NUM(NND, "M4", M4, ACT_MOD) |
187 | + | R04 = T_CIRC(11.2, 11.2, 3.3) & T_CIRC(11.2, H - 14.2, 3.3) & T_CIRC(L - 11.2, 11.2, 3.3) & T_CIRC(L - 11.2, H - 14.2, 3.3) |
188 | - | BT = INPUT_NUM(NND, "BT", BT, ACT_MOD) |
188 | + | |
189 | - | LA = INPUT_NUM(NND, "LA", LA, ACT_MOD) |
189 | + | |
190 | - | VV = INPUT_STR(NND, "VER.", VV, ACT_MOD) |
190 | + | |
191 | - | VV = Replace(VV, "H", "") |
191 | + | P1 = L / 2 - 85 |
192 | P2 = L / 2 + 85 | |
193 | - | SCS = 6 |
193 | + | |
194 | STRINGA = R000(NHD, NND, SPS, L, H, P1, P2, MVAL) & fn | |
195 | ||
196 | - | Select Case VV |
196 | + | |
197 | - | Case 1 |
197 | + | |
198 | POSINTAB = def_posintab(NND) | |
199 | - | R01 = T_RECT1(-46, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS)) |
199 | + | |
200 | - | R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS) |
200 | + | STR_OUT(0) = TablePosition(L, H, 0, 0, POSINTAB) |
201 | STR_OUT(1) = TL_CUT_O | |
202 | - | R01 = R01 & T_CIRC(46, L - 5, 4.5) |
202 | + | STR_OUT(2) = "TOOLANGLE(0)" |
203 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + M2 - 4 * SPS), 10) |
203 | + | STR_OUT(3) = "MIDCUT(N)" |
204 | - | R02 = T_CIRC(13, L - (M1 + BT + M4 + M2 - 45 - 4 * SPS), 10) |
204 | + | STR_OUT(4) = UnloadOutline(110, 6, 0, -6, L, H) |
205 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + 45 - 4 * SPS), 10) |
205 | + | STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(L) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, L, H, 0, 0) |
206 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10) |
206 | + | |
207 | Call FVTPT(3, NND, "") | |
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 | STR_OUT(0) = TablePosition(L, H, 0, 0, POSINTAB) | |
211 | - | R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS)) |
211 | + | STR_OUT(1) = "'INIZIO BLOCCO=ABABAB" |
212 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS) |
212 | + | STR_OUT(2) = TL_CUT_V2 |
213 | STR_OUT(3) = "TOOLANGLE(90)" | |
214 | STR_OUT(4) = "MIDCUT(N)" | |
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 | + | STR_OUT(5) = "PUN(LIN" & CNLV_GEO & "(P," & "0" & "," & Jcdf(H) & "," & "0" & "," & Jcdf(0) & ",-6,-6,0,M0))" |
216 | - | R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1) |
216 | + | STR_OUT(6) = TL_CUT_O |
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 | + | STR_OUT(7) = "TOOLANGLE(0)" |
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 | + | STR_OUT(8) = "MIDCUT(N)" |
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 | + | STR_OUT(9) = UnloadOutline(110, 6, 0, -6, L, H) |
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 | + | STR_OUT(10) = "PUN(LIN" & CNLV_GEO & "(P," & Jcdf(L) & "," & -LUTH & "," & Jcdf(0) & "," & -LUTH & ",-6,-6,0,M0,UNLDR" & UNLOADER(1, L, H, 0, 0) |
221 | STR_OUT(11) = "'FINE BLOCCO" | |
222 | ||
223 | - | YY1 = M1 + BT + 32 - 4 * SPS |
223 | + | Call FVTPT(3, NND, "C") |
224 | ||
225 | - | R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3) |
225 | + | |
226 | - | SPEK = 0 |
226 | + | |
227 | ||
228 | - | Case 2 |
228 | + | Sub S_10288740(ByVal NND As Integer) |
229 | ACT_MOD = "1028874" | |
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 | ||
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 | + | |
236 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + 45 - 4 * SPS), 10) |
236 | + | |
237 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10) |
237 | + | |
238 | VV = Replace(VV, "P", "") | |
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 | + | |
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 | + | |
242 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS) |
242 | + | SCA = 10.4 |
243 | COR = 1.35 | |
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 | + | R01 = T_RAD(SCA + 4.5 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO |
246 | - | R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1) |
246 | + | R01 = R01 & T_RAD(SCA + 5 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RAD(SCA + 5.5 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RAD(SCA + 6 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RAD(SCA + 4.5 + 11 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RAD(SCA + 5 + 11 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO |
251 | R01 = R01 & T_RAD(SCA + 5.5 + 11 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO | |
252 | R01 = R01 & T_RAD(SCA + 6 + 11 + COR, H + 1.3, 4) 'RAGGIATORE PER SCASSO | |
253 | - | YY1 = M1 + BT + 32 - 4 * SPS |
253 | + | |
254 | R01 = R01 & T_RECT1(6 - 3.5 + SCA, 6 - 3.5 + SCA + 6.8, H - 1, H + 5.8) 'ATTENZIONE | |
255 | - | R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3) |
255 | + | R01 = R01 & T_RECT1(17 - 3.5 + SCA, 17 - 3.5 + 6.8 + SCA, H - 1, H + 5.8) |
256 | - | SPEK = 0 |
256 | + | |
257 | R01 = R01 & T_RAD(L - 4.5 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO | |
258 | - | Case 3 |
258 | + | R01 = R01 & T_RAD(L - 5 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO |
259 | R01 = R01 & T_RAD(L - 5.5 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO | |
260 | - | R01 = T_RECT1(-46, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS)) |
260 | + | R01 = R01 & T_RAD(L - 6 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO |
261 | - | R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS) |
261 | + | R01 = R01 & T_RAD(L - 4.5 - 11 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO |
262 | R01 = R01 & T_RAD(L - 5 - 11 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO | |
263 | - | R01 = R01 & T_CIRC(46, L - 5, 4.5) |
263 | + | R01 = R01 & T_RAD(L - 5.5 - 11 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO |
264 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 + M2 - 4 * SPS), 10) |
264 | + | R01 = R01 & T_RAD(L - 6 - 11 - SCA - COR, H + 1.3, 3) 'RAGGIATORE PER SCASSO |
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 | + | R01 = R01 & T_RECT1(L - (6 - 3.5 + SCA), L - (6 - 3.5 + SCA + 6.8), H - 1, H + 5.8) 'ATTENZIONE |
267 | - | R01 = R01 & T_CIRC(13, L - (M1 + BT + M4 - 4 * SPS), 10) |
267 | + | R01 = R01 & T_RECT1(L - (17 - 3.5 + SCA), L - (17 - 3.5 + 6.8 + SCA), H - 1, H + 5.8) |
268 | ||
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 | + | R02 = T_CIRC(10.4 + 27, H - 12.5, 5) & T_CIRC(10.4 + 27 + 11, H - 12.5, 5) & T_CIRC(L - 10.4 - 27, H - 12.5, 5) & T_CIRC(L - 10.4 - 27 - 11, H - 12.5, 5) |
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 | + | R03 = T_SLOT(10.4 + 27, 2.75, 10.5, 5, 90) & T_SLOT(10.4 + 27 + 11, 2.75, 10.5, 5, 90) & T_SLOT(L - 10.4 - 27, 2.75, 10.5, 5, 90) & T_SLOT(L - 10.4 - 27 - 11, 2.75, 10.5, 5, 90) |
271 | ||
272 | - | R01 = R01 & T_RECT1(H - 30, H + 42, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS)) |
272 | + | R04 = T_RECT1(-4.6, 10.4, -0.1, 14.9) & T_RECT1(L + 4.6, L - 10.4, -0.1, 14.9) |
273 | - | R01 = R01 & T_RECT1(H - 30, H + 2.6, L - (M1 + BT + 4 - 4 * SPS), L + SCS) |
273 | + | R05 = T_RECT1(-4.6, 10.4, H - 21.9, H + 6) & T_RECT1(L + 4.6, L - 10.4, H - 21.9, H + 6) |
274 | R06 = T_CIRC(11.3, 14, 3.3) & T_CIRC(L - 11.3, 14, 3.3) & T_CIRC(11.3, H - 21, 3.3) & T_CIRC(L - 11.3, H - 21, 3.3) | |
275 | ||
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 | + | |
277 | - | R01 = R01 & T_BLQ(0, L - (M1 + BT + 4 - 4 * SPS) - 5, 5, L - (M1 + BT + 4 - 4 * SPS), 1, 1) |
277 | + | fn = R01 & R02 & R03 & R04 & R05 & R06 |
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 | + | |
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 | + | |
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 | + | P2 = L - 400 |
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 | STRINGA = R000(NHD, NND, SPS, L, H, P1, P2, MVAL) & fn | |
283 | ||
284 | - | YY1 = M1 + BT + 32 - 4 * SPS |
284 | + | |
285 | ||
286 | - | R04 = T_PAT(H, L - YY1) & T_PAT(H, L - YY1 - M3) |
286 | + | |
287 | - | SPEK = 1 |
287 | + | Call CUT_END_S(L, H, "0", POSINTAB) |
288 | Call FVTPT(3, NND, "") | |
289 | - | Case 4 |
289 | + | Call CUT_END_S(L, H, "B", POSINTAB) |
290 | Call FVTPT(3, NND, "B") | |
291 | - | R01 = T_RECT1(-6.6, 26, -SCS, L - (M1 + BT + LA - 4 - 4 * SPS)) |
291 | + | Call CUT_END_S(L, H, "C", POSINTAB) |
292 | - | R01 = R01 & T_RECT1(-SCS - 0.6, 26, L - (M1 + BT + 4 - 4 * SPS), L + SCS) |
292 | + | Call FVTPT(3, NND, "C") |
293 | ||
294 | - | R01 = R01 & T_CIRC(46, L - 5, 4.5) |
294 | + | |
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 | + | |
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 | + |