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