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 |
include <polyScrewThread_r1.scad> |
3 |
|
4 |
|
- |
|
5 |
PI=3.141592; |
- |
|
6 |
|
4 |
//kryt_rotoru |
7 |
//Držák magnetu |
5 |
|
8 |
|
6 |
module WINDGAUGE02A_R03() |
9 |
module WINDGAUGE02A_R03() |
7 |
{ |
- |
|
8 |
|
10 |
{ |
9 |
//kopule |
11 |
//setihrana matice |
10 |
difference() |
12 |
difference() |
11 |
{ |
13 |
{ |
12 |
sphere(r = (S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu, $fn=100); |
- |
|
13 |
|
14 |
union() |
14 |
sphere(r = (S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+0.2, $fn=100); |
- |
|
15 |
|
15 |
{ |
16 |
translate([-((S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu),-((S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu),-2*((S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu)]) |
16 |
//zakladni material |
17 |
|
- |
|
18 |
cube(size = [2*((S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu), 2*((S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu), 2*((S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu)]); |
17 |
cylinder (h = 2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-senzor_vyska_IO-senzor_odstup_od_magnetu, r= R05_sirka_matky/2, $fn=6); |
19 |
|
18 |
|
- |
|
19 |
translate([0,0,-S01_sila_materialu/2]) |
- |
|
20 |
cylinder (h = S01_sila_materialu, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100); |
20 |
} |
21 |
} |
21 |
|
22 |
|
22 |
|
23 |
//otvor pro magnet |
- |
|
24 |
translate([0,0,(2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-senzor_vyska_IO-senzor_odstup_od_magnetu)-magnet_zapusteni/2+0.01]) |
- |
|
25 |
cylinder (h = magnet_zapusteni+0.01, r=((magnet_prumer+0.2)/2), center = true, $fn=100); |
23 |
|
26 |
|
- |
|
27 |
//otvor |
24 |
//válcová část krytu |
28 |
translate([0,0,-S01_sila_materialu]) |
- |
|
29 |
cylinder (h = 3*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-senzor_vyska_IO-senzor_odstup_od_magnetu+0.1, r=prumer_osicky/2, $fn=100); |
- |
|
30 |
|
- |
|
31 |
translate([0,0,S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-senzor_vyska_IO-senzor_odstup_od_magnetu+0.1]) |
- |
|
32 |
|
25 |
difference() |
33 |
difference() |
26 |
{ |
34 |
{ |
27 |
//zakladni valec |
35 |
cylinder( S01_sila_materialu,d1=3*R05_sirka_matky, d2=3*lozisko_prumer_vnitrni+2*lozisko_prekryv ); |
28 |
translate([0,0,- |
36 |
|
29 |
(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2]) |
37 |
cylinder( S01_sila_materialu, d1=R05_sirka_matky,d2=lozisko_prumer_vnitrni+2*lozisko_prekryv ); |
30 |
cylinder (h = |
38 |
} |
31 |
R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku, r=(S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu, center = true, $fn=100); |
- |
|
32 |
|
- |
|
33 |
//válec pro vykrojení |
- |
|
34 |
translate([0,0,-(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2]) |
- |
|
35 |
cylinder (h = R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku+0.01, r=(S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+0.2, center = true, $fn=100); |
- |
|
36 |
|
39 |
|
- |
|
40 |
//spodní zakulacení |
- |
|
41 |
difference() |
- |
|
42 |
{ |
- |
|
43 |
cylinder( S01_sila_materialu, d1=3*lozisko_prumer_vnitrni+2*lozisko_prekryv,d2=3*R05_sirka_matky ); |
- |
|
44 |
|
- |
|
45 |
cylinder( S01_sila_materialu, d1=lozisko_prumer_vnitrni+2*lozisko_prekryv,d2=R05_sirka_matky ); |
37 |
} |
46 |
} |
- |
|
47 |
} |
38 |
} |
48 |
} |
39 |
|
49 |
|
40 |
|
50 |
|
41 |
WINDGAUGE02A_R03(); |
51 |
WINDGAUGE02A_R03(); |
- |
|
52 |
|
- |
|
53 |
|