4277 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
//include <configuration.scad> |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
module rotor2 (vyska_rotoru2,prumer_rotoru1,vyska_kryti,sila_materialu,stator1_sila,vyska_matky,vzdalenost_rot_stat,lozisko_prumer_vnitrni,lozisko_prekryv,sila_pod_loziskem,delka_hridele,lozisko_vyska,sirka_matky_tol,sirka_matky,hloubka_uchytu,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,vzdalenost_rot_stat2,sirka_matky_tol) |
|
|
9 |
{ |
|
|
10 |
|
|
|
11 |
difference() |
|
|
12 |
{ |
|
|
13 |
union () |
|
|
14 |
{ |
|
|
15 |
|
|
|
16 |
cylinder (h = vyska_rotoru2, r=prumer_rotoru1/2, center = true, $fn=100); |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
//kryci kroužek |
|
|
22 |
translate([0,0,-(vyska_rotoru2)/2-(vyska_kryti)/2]) |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
difference () |
|
|
26 |
{ |
|
|
27 |
cylinder (h = vyska_kryti, r=(prumer_rotoru1/2), center = true, $fn=100); |
|
|
28 |
|
|
|
29 |
cylinder (h = vyska_kryti+0.1, r=(prumer_rotoru1/2-sila_materialu), center = true, $fn=100); |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
} |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
//doraz na lozisko |
|
|
38 |
translate([0,0,-(vyska_rotoru2+stator1_sila+vyska_matky+vzdalenost_rot_stat)/2]) |
|
|
39 |
cylinder (h = stator1_sila+vyska_matky+vzdalenost_rot_stat, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100); |
|
|
40 |
|
|
|
41 |
//hridel |
|
|
42 |
translate([0,0,-(vyska_rotoru2+stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele)/2]) |
|
|
43 |
cylinder (h = stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele, r=(lozisko_prumer_vnitrni/2), center = true, $fn=100); |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
} |
|
|
47 |
|
|
|
48 |
//otvor v hřídeli |
|
|
49 |
translate([0,0,-(stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele)/2]) |
|
|
50 |
cylinder (h = vyska_rotoru2+stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele+0.1, r=(prumer_sroubu/2), center = true, $fn=100); |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
//otvor pro matku |
|
|
54 |
translate([0,0,(vyska_rotoru2-vyska_matky)/2]) |
|
|
55 |
cylinder (h = vyska_matky+0.1, r= (sirka_matky+sirka_matky_tol)/2, center = true,$fn=6); |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
//otvor pro uchyceni prvni lopatky |
|
|
62 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0]) |
|
|
63 |
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
|
|
64 |
|
|
|
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 druhe lopatky |
|
|
69 |
rotate(a=[0,0,120]) |
|
|
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,120]) |
|
|
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 |
//otvor pro uchyceni treti lopatky |
|
|
78 |
rotate(a=[0,0,240]) |
|
|
79 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0]) |
|
|
80 |
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
|
|
81 |
|
|
|
82 |
rotate(a=[0,0,240]) |
|
|
83 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru2)/2+vyska_matky/2]) |
|
|
84 |
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100); |
|
|
85 |
|
|
|
86 |
} |
|
|
87 |
} |
|
|
88 |
|
|
|
89 |
|