Rev Author Line No. Line
4272 jacho 1 $fn=40; // model faces resolution.
2  
3 prumer_rotoru1=50;
4 vyska_rotoru1=5;
5 prumer_sroubu=3.2;
6 vyska_matky=3;
7 prumer_orechu=10;
8 sila_materialu=3;
9 sila_materialu_vule=0.2;
10 hloubka_prekryti=2;
11  
12  
13 //lopatka
14 hloubka_uchytu=20;
15 sila_uchytu=12;
16 vyska_uchytu=10;
17 tolerance_uchytu=0.1;
18  
19 difference()
20 {
21 union ()
22 {
23  
24 cylinder (h = vyska_rotoru1-hloubka_prekryti, r=prumer_rotoru1/2, center = true, $fn=100);
25  
26  
27 translate([0,0,vyska_rotoru1/2])
28  
29 cylinder (h = hloubka_prekryti, r=(prumer_rotoru1/2) -sila_materialu-sila_materialu_vule, center = true, $fn=100);
30  
31 //otvory pro lopatky
32 translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2-(vyska_uchytu+tolerance_uchytu)/2])
33 komponent();
34  
35 }
36  
37 //otvory pro uchyceni krytky rotoru
38 translate([0,0,hloubka_prekryti/2])
39 cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
40  
41 translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
42 cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
43  
44  
45 //otvor pro uchyceni prvni lopatky
46 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2])
47 cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
48  
49 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
50 cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
51  
52 //otvor pro uchyceni druhe lopatky
53 rotate(a=[0,0,120])
54 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2])
55 cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
56  
57 rotate(a=[0,0,120])
58 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
59 cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
60  
61 //otvor pro uchyceni treti lopatky
62 rotate(a=[0,0,240])
63 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2])
64 cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
65  
66 rotate(a=[0,0,240])
67 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
68 cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
69  
70 }
71  
72  
73  
74  
75  
76  
77 module komponent()
78 {
79 difference ()
80 {
81 cylinder (h = vyska_uchytu+tolerance_uchytu, r=(prumer_rotoru1/2), center = true, $fn=100);
82  
83 cylinder (h = vyska_uchytu+2*tolerance_uchytu, r=(prumer_rotoru1/2-hloubka_uchytu+5), center = true, $fn=100);
84  
85 //dira pro prvni uchyt lopatky
86 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
87 cube([hloubka_uchytu,sila_uchytu+tolerance_uchytu,vyska_uchytu+2*tolerance_uchytu],true);
88  
89 //dira pro druhy uchyt lopatky
90  
91 rotate(a=[0,0,120])
92  
93 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
94 cube([hloubka_uchytu,sila_uchytu+tolerance_uchytu,vyska_uchytu+2*tolerance_uchytu],true);
95  
96 //dira pro treti uchyt lopatky
97  
98 rotate(a=[0,0,240])
99  
100 translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
101 cube([hloubka_uchytu,sila_uchytu+tolerance_uchytu,vyska_uchytu+2*tolerance_uchytu],true);
102  
103 }
104  
105 }