Rev Author Line No. Line
4431 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3  
4 //kryt_rotoru
5  
4476 jacho 6 module WINDGAUGE02A_R03()
4431 jacho 7 {
8  
9 //kopule
10 difference()
11 {
4476 jacho 12 sphere(r = (S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem+S01_sila_materialu, $fn=100);
4431 jacho 13  
4476 jacho 14 sphere(r = (S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_mezera_mezi_statorem_rotorem-0.2, $fn=100);
4431 jacho 15  
4476 jacho 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)])
4431 jacho 17  
4476 jacho 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)]);
4431 jacho 19  
20 }
21  
22  
23  
24 //válcová část krytu
25 difference()
26 {
27 //zakladni valec
28 translate([0,0,-
29 R02_sila_mateiralu_pod_lopatkami/2])
30 cylinder (h =
4476 jacho 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);
4431 jacho 32  
33 //válec pro vykrojení
34 translate([0,0,-R02_sila_mateiralu_pod_lopatkami/2])
4476 jacho 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);
4431 jacho 36  
37 }
38 }
39  
40  
4476 jacho 41 WINDGAUGE02A_R03();