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 |
|
3 |
|
4 |
//kryt_rotoru |
4 |
//kryt_rotoru |
5 |
|
5 |
|
6 |
module WINDGAUGE02A_R03(R03_sila_materialu,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,R01_sila_materialu_pro_prekriti, |
- |
|
7 |
R02_sila_mateiralu_pod_lopatkami,S01_sila_materialu) |
6 |
module WINDGAUGE02A_R03() |
8 |
{ |
7 |
{ |
9 |
|
8 |
|
10 |
//kopule |
9 |
//kopule |
11 |
difference() |
10 |
difference() |
12 |
{ |
11 |
{ |
13 |
sphere(r = (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu+2*S01_sila_materialu)/2, $fn=100); |
12 |
sphere(r = (S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu, $fn=100); |
14 |
|
13 |
|
15 |
sphere(r = (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*S01_sila_materialu)/2+0.1, $fn=100); |
14 |
sphere(r = (S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem-0.2, $fn=100); |
16 |
|
15 |
|
17 |
translate([0,0,-(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu+2*S01_sila_materialu)/2]) |
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)]) |
18 |
|
17 |
|
19 |
cube(size = [(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu+2*S01_sila_materialu), (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu+2*S01_sila_materialu), (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu+2*S01_sila_materialu)], center = true); |
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)]); |
20 |
|
19 |
|
21 |
} |
20 |
} |
22 |
|
21 |
|
23 |
|
22 |
|
24 |
|
23 |
|
Line 27... |
Line 26... |
27 |
{ |
26 |
{ |
28 |
//zakladni valec |
27 |
//zakladni valec |
29 |
translate([0,0,- |
28 |
translate([0,0,- |
30 |
R02_sila_mateiralu_pod_lopatkami/2]) |
29 |
R02_sila_mateiralu_pod_lopatkami/2]) |
31 |
cylinder (h = |
30 |
cylinder (h = |
32 |
R02_sila_mateiralu_pod_lopatkami, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu+2*S01_sila_materialu)/2, center = true, $fn=100); |
31 |
R02_sila_mateiralu_pod_lopatkami, r=(S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu, center = true, $fn=100); |
33 |
|
32 |
|
34 |
//válec pro vykrojení |
33 |
//válec pro vykrojení |
35 |
translate([0,0,-R02_sila_mateiralu_pod_lopatkami/2]) |
34 |
translate([0,0,-R02_sila_mateiralu_pod_lopatkami/2]) |
36 |
cylinder (h = R02_sila_mateiralu_pod_lopatkami+0.01, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*S01_sila_materialu)/2+0.01, center = true, $fn=100); |
35 |
cylinder (h = R02_sila_mateiralu_pod_lopatkami+0.01, r=(S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem-0.2, center = true, $fn=100); |
37 |
|
36 |
|
38 |
} |
37 |
} |
39 |
} |
38 |
} |
40 |
|
39 |
|
41 |
|
40 |
|
42 |
WINDGAUGE02A_R03(R03_sila_materialu,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,R01_sila_materialu_pro_prekriti,R02_sila_mateiralu_pod_lopatkami,S01_sila_materialu); |
- |
|
- |
|
41 |
WINDGAUGE02A_R03(); |