Rev Author Line No. Line
4437 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3  
4517 jacho 4 WINDGAUGE02A_L01();
4437 jacho 5  
6 //Model lopatky
7  
8  
9  
4476 jacho 10 module WINDGAUGE02A_L01()
4437 jacho 11  
12 union()
13 {
14  
15 //prechod lopatka drzak
16 difference()
17 {
18 translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/4,0])
19 cube([L01_hrana_drzaku_a,(L01_prumer_lopatky/2)+5,L01_hrana_drzaku_b],center=true);
20 sphere(d = L01_prumer_lopatky, $fn=100);
21 }
22  
23 difference()
24 {
25 //lopatka
26 sphere(d = L01_prumer_lopatky, $fn=100);
27  
28 sphere(d = L01_prumer_lopatky-2*L01_sila_materialu_lopatky, $fn=100);
29  
30  
31 translate([0,-L01_prumer_lopatky/2,-L01_prumer_lopatky/2])
32 cube(size = L01_prumer_lopatky);
33 }
34  
35  
36 //uchyt_lopatky - tycka
37 translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu/2,0])
38 cube([L01_hrana_drzaku_a,L01_delka_uchytu,L01_hrana_drzaku_b],center=true);
39  
40 //uchyt_lopatky - tycka v rotoru
41 translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2,0])
42 cube([L01_hrana_drzaku_a,L01_hloubka_zapusteni,L01_hrana_drzaku_b],center=true);
43  
44 //uchyt_lopatky - v rotoru
45 translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni+L01_sila_zapusteni_drzaku/2,0])
46 cube([L01_hrana_drzaku_a,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_b+2*L01_hloubka_zapusteni_drzaku],center=true);
47  
48 }
49  
50 // WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky);