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