Rev Author Line No. Line
4279 jacho 1 $fn=40; // model faces resolution.
2 //include <../configuration.scad>
4297 jacho 3 //lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
4279 jacho 4  
5  
6  
4297 jacho 7 /*
8 hloubka_uchytu - fefinuje delku zapusteni uchytu lopatky do rotorové casti
9 sila_uchytu - sirka drzaku lopatky zapustene do rotoru
10 vyska_uchytu - definuje vysku drzaku lopatky zapustene do rotoru
11 tolerance_uchytu - mezera pro snadnějsi zasunuti do rotoru
4279 jacho 12  
4297 jacho 13 prumer_lopatky - prumer lopatky vnejsi
14 sila_materialu_lopatky
15 delka_uchytu_lopaty - delky tycky mezi uchytem do rotoru a lopatkou
16 hrana_uchytu_lopatky - hrana ctvercoveho profilu tycky mezi uchytem do rotoru a lopatkou
17  
18 prumer_rotoru1 -
19 prumer_sroubu - odava prumer sroubu pro uchyceni lopatky
20  
21  
22 */
23  
24  
25  
4279 jacho 26 module lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu)
27 {
28  
29 union()
30 {
31  
4297 jacho 32 //prechod lopatka drzak
33 difference()
4279 jacho 34 {
35 translate([-hrana_uchytu_lopatky/2,prumer_lopatky/4,0])
4297 jacho 36 cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true);
37 sphere(d = prumer_lopatky, $fn=100);
4279 jacho 38 }
39  
4297 jacho 40 difference()
4279 jacho 41 {
4297 jacho 42 //lopatka
43 sphere(d = prumer_lopatky, $fn=100);
4279 jacho 44  
4297 jacho 45 sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100);
4279 jacho 46  
4297 jacho 47 translate([0,-prumer_lopatky/2,-prumer_lopatky/2])
48 cube(size = prumer_lopatky);
4279 jacho 49 }
50  
51  
4297 jacho 52 //uchyt_lopatky - tycka
4279 jacho 53 translate([-hrana_uchytu_lopatky/2,prumer_lopatky/2+delka_uchytu_lopatky/2,0])
4297 jacho 54 cube([hrana_uchytu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky],center=true);
4279 jacho 55  
56  
57  
58 //uchyt lopatky cast v rotoru
59 translate([-sila_uchytu/2,prumer_lopatky/2+delka_uchytu_lopatky+hloubka_uchytu/2,0])
4297 jacho 60 difference()
61 {
62 cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true);
4279 jacho 63  
4297 jacho 64 //otvor pro sroub
65 translate([0,0,0])
66 cylinder(h=vyska_uchytu+1, r=prumer_sroubu/2, center=true, $fn=100);
4279 jacho 67  
4297 jacho 68 //zaobleni
69 translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0])
70 difference()
71 {
72 cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100);
4279 jacho 73  
4297 jacho 74 cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100);
4279 jacho 75  
76  
4297 jacho 77 }
78 }
4279 jacho 79  
80 //vyrovnávací úsek mezi úchytem v rotoru a úchytem loplatky (tyčkou)
81  
4297 jacho 82 translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0])
4279 jacho 83  
4297 jacho 84 difference()
85 {
4279 jacho 86 translate([-hrana_uchytu_lopatky/2,0,0])
4297 jacho 87 cube([hrana_uchytu_lopatky,10,hrana_uchytu_lopatky],center=true);
4279 jacho 88  
4297 jacho 89 translate([-sila_uchytu,+prumer_rotoru1/2-5/2,0])
90 cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2, center=true, $fn=100);
91  
92 }
4279 jacho 93  
4297 jacho 94  
95 }
96 }