Line 1... |
Line 1... |
1 |
$fn=40; // model faces resolution. |
1 |
$fn=40; // model faces resolution. |
2 |
include <../configuration.scad> |
2 |
include <../configuration.scad> |
3 |
|
- |
|
4 |
|
- |
|
5 |
include <polyScrewThread_r1.scad> |
3 |
include <polyScrewThread_r1.scad> |
6 |
|
4 |
|
7 |
PI=3.141592; |
5 |
PI=3.141592; |
8 |
|
6 |
|
- |
|
7 |
//Hlavní válec |
9 |
|
8 |
|
10 |
|
- |
|
- |
|
9 |
WINDGAUGE02A_S02(); |
11 |
|
10 |
|
12 |
module WINDGAUGE02A_S02() |
11 |
module WINDGAUGE02A_S02() |
13 |
{ |
- |
|
14 |
|
12 |
{ |
15 |
//valec se zavitem |
- |
|
16 |
union() { |
- |
|
17 |
|
- |
|
18 |
|
- |
|
19 |
difference() |
13 |
difference() |
20 |
{ |
14 |
{ |
21 |
|
- |
|
22 |
|
- |
|
23 |
union() { |
15 |
union() |
24 |
translate([0,0,S01_sila_materialu]) |
- |
|
25 |
screw_thread((S01_prumer_vnitrni-S01_tolerance_zavit),S01_hloubka_zavitu,55,S01_vyska_horni_zavit,PI/2,2); |
- |
|
26 |
|
16 |
{ |
27 |
//spodní doraz |
- |
|
28 |
|
- |
|
29 |
cylinder (h = S01_sila_materialu, r=S01_prumer_vnitrni/2+5/2*S01_sila_materialu, $fn=100); |
- |
|
30 |
|
- |
|
31 |
|
- |
|
32 |
//krycí ovál - usnadnění povolení |
17 |
//základní válec |
33 |
difference() |
- |
|
34 |
{ |
- |
|
35 |
cylinder (h = R01_vyska_preryti_statoru+5, r=S01_prumer_vnitrni/2+5/2*S01_sila_materialu, $fn=100); |
18 |
cylinder (h = S01_vyska, r=(S01_prumer_vnitrni)/2+S01_sila_materialu, $fn=100); |
36 |
|
- |
|
37 |
cylinder (h = R01_vyska_preryti_statoru+5+0.01, r=S01_prumer_vnitrni/2+3/2*S01_sila_materialu, $fn=100); |
- |
|
38 |
|
- |
|
39 |
} |
- |
|
40 |
} |
- |
|
41 |
|
19 |
|
42 |
//odstranění vnitřní výplně |
- |
|
43 |
translate([0,0,S01_sila_materialu]) |
- |
|
44 |
cylinder (h = S01_vyska_horni_zavit+0.01, r=S01_prumer_vnitrni/2-S01_hloubka_zavitu/2-S01_sila_materialu, $fn=100); |
- |
|
45 |
|
- |
|
46 |
//otvor na ložisko |
- |
|
47 |
translate([0,0,S01_sila_materialu/2]) |
- |
|
48 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
49 |
//otvory na hlavu šroubu ve dně |
- |
|
50 |
//otvor na hlavu šroubu 1 |
- |
|
51 |
translate([-senzor_delka/2,-senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
- |
|
52 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100); |
- |
|
53 |
|
- |
|
54 |
//otvor na šroub 2 |
- |
|
55 |
translate([senzor_delka/2,-senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
- |
|
56 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100); |
- |
|
57 |
|
20 |
|
58 |
//otvor na šroub 3 |
- |
|
59 |
translate([senzor_delka/2,senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
- |
|
60 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100); |
- |
|
61 |
|
- |
|
62 |
//otvor na šroub 4 |
- |
|
63 |
translate([-senzor_delka/2,senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
- |
|
64 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100); |
- |
|
65 |
|
- |
|
66 |
} |
- |
|
67 |
|
- |
|
68 |
//otvor na ložisko |
- |
|
69 |
|
- |
|
70 |
difference() |
- |
|
71 |
{ |
- |
|
72 |
translate([0,0,(R01_vyska_preryti_statoru+2*lozisko_vyska)/2+S01_sila_materialu]) |
- |
|
73 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100); |
- |
|
74 |
translate([0,0,(R01_vyska_preryti_statoru+2*lozisko_vyska)/2+S01_sila_materialu]) |
- |
|
75 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
76 |
|
- |
|
77 |
//otvory na hlavy sroubu v uchytu loziska |
- |
|
78 |
translate([-senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
79 |
{ |
- |
|
80 |
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40); |
- |
|
81 |
translate([0,0,vyska_hlavy_sroubu]) |
- |
|
82 |
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2); |
- |
|
83 |
} |
- |
|
84 |
translate([-senzor_delka/2,senzor_sirka/2,0]) |
- |
|
85 |
{ |
- |
|
86 |
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40); |
- |
|
87 |
translate([0,0,vyska_hlavy_sroubu]) |
- |
|
88 |
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2); |
- |
|
89 |
} |
- |
|
90 |
|
- |
|
91 |
translate([senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
92 |
{ |
- |
|
93 |
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40); |
- |
|
94 |
translate([0,0,vyska_hlavy_sroubu]) |
- |
|
95 |
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2); |
- |
|
96 |
} |
- |
|
97 |
|
- |
|
98 |
translate([senzor_delka/2,senzor_sirka/2,0]) |
- |
|
99 |
{ |
- |
|
100 |
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40); |
- |
|
101 |
translate([0,0,vyska_hlavy_sroubu]) |
- |
|
102 |
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2); |
- |
|
103 |
} |
- |
|
104 |
} |
- |
|
105 |
|
- |
|
106 |
difference() |
- |
|
107 |
{ |
- |
|
108 |
union() |
- |
|
109 |
{ |
- |
|
110 |
//uchyty na modul |
- |
|
111 |
//sloupek 1 |
- |
|
112 |
translate([-senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
113 |
SLOUPEK(); |
- |
|
114 |
|
- |
|
115 |
|
- |
|
116 |
translate([senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
117 |
SLOUPEK(); |
- |
|
118 |
|
- |
|
119 |
translate([senzor_delka/2,senzor_sirka/2,0]) |
- |
|
120 |
SLOUPEK(); |
- |
|
121 |
|
- |
|
122 |
translate([-senzor_delka/2,senzor_sirka/2,0]) |
- |
|
123 |
SLOUPEK(); |
- |
|
124 |
} |
- |
|
125 |
translate([0,0,0]) |
- |
|
126 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+S01_sila_materialu, r=(lozisko_prumer_vnejsi+0.2)/2, $fn=100); |
- |
|
127 |
|
- |
|
128 |
//doraz loziska |
- |
|
129 |
translate([0,0,(R01_vyska_preryti_statoru+2*lozisko_vyska)+S01_sila_materialu+8/2]) |
- |
|
130 |
cylinder(h=8, r1=(lozisko_prumer_vnejsi+0.2)/2, r2=0, center=true); |
- |
|
131 |
|
- |
|
132 |
} |
- |
|
133 |
|
- |
|
134 |
|
- |
|
135 |
|
- |
|
136 |
|
- |
|
137 |
} |
- |
|
138 |
} |
- |
|
139 |
|
- |
|
140 |
|
- |
|
141 |
//sloupek na senzor |
- |
|
142 |
module SLOUPEK() |
- |
|
143 |
{ |
- |
|
144 |
translate([0,0,S01_sila_materialu]) |
- |
|
145 |
difference () { |
- |
|
146 |
|
- |
|
147 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20); |
- |
|
148 |
|
- |
|
149 |
|
- |
|
150 |
|
- |
|
151 |
|
21 |
|
152 |
translate([0,0,R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky]) |
- |
|
153 |
cylinder (h = vyska_matky+0.01, r= (sirka_matky+0.2)/2, $fn=6); |
- |
|
154 |
|
22 |
} |
155 |
|
23 |
|
- |
|
24 |
//horní závit |
156 |
translate([0,0,-0.01]) |
25 |
translate([0,0,S01_vyska-S01_vyska_horni_zavit]) |
157 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=40); |
26 |
screw_thread(S01_prumer_vnitrni,S01_hloubka_zavitu,55,S01_vyska_horni_zavit+5,PI/2,2); |
158 |
|
27 |
|
- |
|
28 |
//otvor na drzak rj11 |
- |
|
29 |
translate([0,0,S01_vyska_spodniho_zavitu+S01_sila_drzaku_RJ11-0.3]) |
- |
|
30 |
cylinder( 2*S01_sila_drzaku_RJ11, d1=(S01_prumer_vnitrni)-1-1.5*S01_hloubka_zavitu,d2=(S01_prumer_vnitrni) ); |
159 |
|
31 |
|
160 |
translate([0,0,-0.01]) |
32 |
translate([0,0,S01_vyska_spodniho_zavitu]) |
161 |
cylinder (h = vyska_hlavy_sroubu-S01_sila_materialu, r= (prumer_hlavy_sroubu)/2, $fn=40); |
33 |
cylinder (h = S01_sila_drzaku_RJ11-0.3, r=(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2+0.5, $fn=100); |
162 |
|
- |
|
163 |
translate([0,0,vyska_hlavy_sroubu-S01_sila_materialu-0.02]) |
- |
|
164 |
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2); |
- |
|
165 |
|
- |
|
166 |
} |
- |
|
167 |
} |
- |
|
168 |
|
- |
|
169 |
|
- |
|
170 |
|
- |
|
171 |
WINDGAUGE02A_S02(); |
- |
|
172 |
|
- |
|
173 |
/* |
- |
|
174 |
difference() |
- |
|
175 |
{ |
34 |
|
176 |
translate([0,0,S01_sila_materialu+S01_vyska_komponentu_na_lozisko/2]) |
- |
|
177 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=((S01_prumer_zavitu-S01_sila_materialu)-S01_tolerance_zavit)/2-S01_hloubka_zavitu/2, center = true, $fn=100); |
- |
|
178 |
|
- |
|
179 |
translate([0,0,S01_sila_materialu+S01_vyska_komponentu_na_lozisko/2]) |
- |
|
180 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=lozisko_prumer_vnejsi/2+S01_sila_materialu, center = true, $fn=100); |
- |
|
181 |
|
35 |
//spodní závit |
182 |
translate([-((S01_prumer_zavitu-S01_sila_materialu)-S01_tolerance_zavit)-S01_hloubka_zavitu,-S01_sila_materialu/2,0]) |
- |
|
183 |
cube([2*((S01_prumer_zavitu-S01_sila_materialu)-S01_tolerance_zavit)-S01_hloubka_zavitu,S01_sila_materialu,S01_vyska_komponentu_na_lozisko]); |
- |
|
184 |
|
- |
|
185 |
rotate ([0,0,90]) |
36 |
translate([0,0,-5]) |
186 |
translate([-((S01_prumer_zavitu-S01_sila_materialu)-S01_tolerance_zavit)-S01_hloubka_zavitu,-S01_sila_materialu/2,0]) |
- |
|
187 |
cube([2*((S01_prumer_zavitu-S01_sila_materialu)-S01_tolerance_zavit)-S01_hloubka_zavitu,S01_sila_materialu,S01_vyska_komponentu_na_lozisko]); |
37 |
screw_thread((S01_prumer_vnitrni),S01_hloubka_zavitu,55,S01_vyska_spodniho_zavitu+5+0.01,PI/2,2); |
188 |
|
- |
|
189 |
|
- |
|
190 |
} |
- |
|
191 |
|
- |
|
192 |
//otvor na pruchod hridelky |
- |
|
193 |
translate([0,0,S01_sila_materialu/2]) |
- |
|
194 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
195 |
|
- |
|
196 |
//otvor na šroub 1 |
- |
|
197 |
translate([-senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
198 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
199 |
|
- |
|
200 |
//otvor na šroub 2 |
- |
|
201 |
translate([senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
202 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
203 |
|
- |
|
204 |
//otvor na šroub 3 |
- |
|
205 |
translate([senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
206 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
207 |
|
38 |
|
208 |
//otvor na šroub 4 |
39 |
//otvor skrz |
209 |
translate([-senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
40 |
translate([0,0,S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3]) |
210 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
41 |
cylinder (h = S01_vyska-S01_vyska_horni_zavit-(S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3), r=(S01_prumer_vnitrni)/2, $fn=100); |
211 |
|
42 |
|
212 |
|
- |
|
213 |
|
- |
|
214 |
//otvory na ložisko |
- |
|
215 |
translate([0,0,(S01_vyska_komponentu_na_lozisko+S01_vyska_zuzene_casti+S01_vyska_prechodu)/2]) |
- |
|
216 |
|
- |
|
217 |
|
43 |
} |
218 |
|
- |
|
219 |
cylinder (h = S01_vyska_komponentu_na_lozisko+S01_vyska_zuzene_casti+S01_vyska_prechodu+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
220 |
|
- |
|
221 |
|
- |
|
222 |
|
- |
|
223 |
|
- |
|
224 |
|
44 |
} |
225 |
|
- |
|
226 |
|
- |
|
227 |
|
45 |
|
228 |
|
46 |
|
229 |
|
47 |
|
230 |
|
48 |
|
231 |
|
49 |
|
232 |
|
- |
|
233 |
} |
- |
|
234 |
|
- |
|
235 |
|
50 |
|
236 |
//sloupek na senzor |
- |
|
237 |
module SLOUPEK() |
- |
|
238 |
{ |
- |
|
239 |
translate([0,0,S01_sila_materialu]) |
- |
|
240 |
difference () { |
- |
|
241 |
|
- |
|
242 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20); |
- |
|
243 |
|
- |
|
244 |
|
51 |
|
245 |
|
- |
|
246 |
|
52 |
|
247 |
translate([0,0,lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky]) |
- |
|
248 |
cylinder (h = vyska_matky+0.01, r= (sirka_matky+0.2)/2, $fn=6); |
- |
|
249 |
|
- |
|
250 |
|
- |
|
251 |
translate([0,0,-0.01]) |
- |
|
252 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=10); |
- |
|
253 |
} |
- |
|
254 |
} |
- |
|
255 |
} |
- |
|
256 |
|
- |
|
257 |
WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit,sirka_matky,magnet_vyska,S01_vyska_zuzene_casti,S01_vyska_prechodu); |
- |
|
258 |
|
- |
|
259 |
|
- |
|
260 |
//původní díl |
- |
|
261 |
/* |
- |
|
262 |
module WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit,sirka_matky,magnet_vyska) |
- |
|
263 |
{ |
- |
|
264 |
union() |
- |
|
265 |
{ |
- |
|
266 |
//valec se zavitem |
- |
|
267 |
difference() |
- |
|
268 |
{ |
- |
|
269 |
|
- |
|
270 |
screw_thread(S01_prumer_zavitu-S01_tolerance_zavit,S01_hloubka_zavitu,55,S01_vyska_komponentu_na_lozisko,PI/2,2); |
- |
|
271 |
|
- |
|
272 |
translate([0,0,S01_sila_materialu+S01_vyska_komponentu_na_lozisko/2]) |
- |
|
273 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=((S01_prumer_zavitu-S01_sila_materialu)-S01_tolerance_zavit)/2-S01_hloubka_zavitu/2, center = true, $fn=100); |
- |
|
274 |
|
- |
|
275 |
//otvor na pruchod hridelky |
- |
|
276 |
translate([0,0,S01_sila_materialu/2]) |
- |
|
277 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+0.2)/2, center = true, $fn=100); |
- |
|
278 |
|
- |
|
279 |
//otvor na šroub 1 |
- |
|
280 |
translate([-senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
281 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
282 |
|
- |
|
283 |
//otvor na šroub 2 |
- |
|
284 |
translate([senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
285 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
286 |
|
- |
|
287 |
//otvor na šroub 3 |
- |
|
288 |
translate([senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
289 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
290 |
|
- |
|
291 |
//otvor na šroub 4 |
- |
|
292 |
translate([-senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
- |
|
293 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
- |
|
294 |
|
- |
|
295 |
} |
- |
|
296 |
|
53 |
|
297 |
//otvory na ložisko |
- |
|
298 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
- |
|
299 |
difference() |
- |
|
300 |
{ |
- |
|
301 |
|
- |
|
302 |
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100); |
- |
|
303 |
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
304 |
|
- |
|
305 |
|
- |
|
306 |
} |
- |
|
307 |
|
54 |
|
308 |
difference() |
- |
|
309 |
{ |
- |
|
310 |
union() |
- |
|
311 |
{ |
- |
|
312 |
//uchyty na modul |
- |
|
313 |
//sloupek 1 |
- |
|
314 |
translate([-senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
315 |
SLOUPEK(); |
- |
|
316 |
|
55 |
|
317 |
|
56 |
|
318 |
translate([senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
319 |
SLOUPEK(); |
- |
|
320 |
|
57 |
|
321 |
translate([senzor_delka/2,senzor_sirka/2,0]) |
- |
|
322 |
SLOUPEK(); |
- |
|
323 |
|
58 |
|
324 |
translate([-senzor_delka/2,senzor_sirka/2,0]) |
- |
|
325 |
SLOUPEK(); |
- |
|
326 |
} |
- |
|
327 |
translate([0,0,S01_sila_materialu]) |
- |
|
328 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, $fn=100); |
- |
|
329 |
|
- |
|
330 |
} |
- |
|
331 |
|
59 |
|
332 |
|
60 |
|
333 |
|
61 |
|
334 |
|
62 |
|
335 |
|
63 |
|
336 |
|
64 |
|
337 |
|
65 |
|
338 |
} |
- |
|
339 |
} |
- |
|
340 |
|
- |
|
341 |
|
66 |
|
342 |
//sloupek na senzor |
- |
|
343 |
module SLOUPEK() |
- |
|
344 |
{ |
- |
|
345 |
translate([0,0,S01_sila_materialu]) |
- |
|
346 |
difference () { |
- |
|
347 |
|
- |
|
348 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20); |
- |
|
349 |
|
- |
|
350 |
|
67 |
|
351 |
|
- |
|
352 |
|
68 |
|
353 |
translate([0,0,lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky]) |
- |
|
354 |
cylinder (h = vyska_matky+0.01, r= (sirka_matky+0.2)/2, $fn=6); |
- |
|
355 |
|
- |
|
356 |
|
- |
|
357 |
translate([0,0,-0.01]) |
- |
|
358 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=10); |
- |
|
359 |
} |
- |
|
360 |
} |
- |
|
361 |
*/ |
- |
|
362 |
|
- |
|
363 |
|
- |
|
364 |
/* |
- |
|
365 |
|
- |
|
366 |
|
- |
|