4277 |
jacho |
1 |
$fn=40; // model faces resolution. |
4288 |
jacho |
2 |
//include <../configuration.scad> |
4277 |
jacho |
3 |
|
4288 |
jacho |
4 |
|
|
|
5 |
|
4277 |
jacho |
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) |
|
|
7 |
{ |
|
|
8 |
difference() |
|
|
9 |
{ |
|
|
10 |
union () |
|
|
11 |
{ |
|
|
12 |
|
|
|
13 |
cylinder (h = vyska_rotoru1-hloubka_prekryti, r=prumer_rotoru1/2, center = true, $fn=100); |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
translate([0,0,vyska_rotoru1/2]) |
|
|
17 |
cylinder (h = hloubka_prekryti, r=(prumer_rotoru1/2) -sila_materialu-sila_materialu_vule, center = true, $fn=100); |
|
|
18 |
|
|
|
19 |
//otvory pro lopatky |
|
|
20 |
translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2-(vyska_uchytu+tolerance_uchytu)/2]) |
|
|
21 |
|
|
|
22 |
//otvory pro lopatky |
|
|
23 |
difference () |
|
|
24 |
{ |
|
|
25 |
cylinder (h = vyska_uchytu+tolerance_uchytu, r=(prumer_rotoru1/2), center = true, $fn=100); |
|
|
26 |
|
|
|
27 |
cylinder (h = vyska_uchytu+2*tolerance_uchytu, r=(prumer_rotoru1/2-hloubka_uchytu+5), center = true, $fn=100); |
|
|
28 |
|
|
|
29 |
//dira pro prvni uchyt lopatky |
|
|
30 |
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); |
|
|
32 |
|
|
|
33 |
//dira pro druhy uchyt lopatky |
|
|
34 |
|
|
|
35 |
rotate(a=[0,0,120]) |
|
|
36 |
|
|
|
37 |
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); |
|
|
39 |
|
|
|
40 |
//dira pro treti uchyt lopatky |
|
|
41 |
|
|
|
42 |
rotate(a=[0,0,240]) |
|
|
43 |
|
|
|
44 |
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); |
|
|
46 |
|
|
|
47 |
} |
|
|
48 |
|
|
|
49 |
} |
|
|
50 |
|
4292 |
jacho |
51 |
|
4277 |
jacho |
52 |
|
|
|
53 |
|
|
|
54 |
//otvor pro uchyceni prvni lopatky |
|
|
55 |
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); |
|
|
57 |
|
|
|
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 druhe lopatky |
|
|
62 |
rotate(a=[0,0,120]) |
|
|
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,120]) |
|
|
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 |
//otvor pro uchyceni treti lopatky |
|
|
71 |
rotate(a=[0,0,240]) |
|
|
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 |
rotate(a=[0,0,240]) |
|
|
76 |
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); |
|
|
78 |
|
|
|
79 |
} |
|
|
80 |
|
|
|
81 |
} |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|