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