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