Line 1... |
Line 1... |
1 |
$fn=40; // model faces resolution. |
1 |
$fn=40; // model faces resolution. |
2 |
//include <../configuration.scad> |
2 |
//include <../configuration.scad> |
- |
|
3 |
//lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); |
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
- |
|
7 |
/* |
- |
|
8 |
hloubka_uchytu - fefinuje delku zapusteni uchytu lopatky do rotorové casti |
- |
|
9 |
sila_uchytu - sirka drzaku lopatky zapustene do rotoru |
- |
|
10 |
vyska_uchytu - definuje vysku drzaku lopatky zapustene do rotoru |
- |
|
11 |
tolerance_uchytu - mezera pro snadnějsi zasunuti do rotoru |
- |
|
12 |
|
- |
|
13 |
prumer_lopatky - prumer lopatky vnejsi |
- |
|
14 |
sila_materialu_lopatky |
- |
|
15 |
delka_uchytu_lopaty - delky tycky mezi uchytem do rotoru a lopatkou |
- |
|
16 |
hrana_uchytu_lopatky - hrana ctvercoveho profilu tycky mezi uchytem do rotoru a lopatkou |
- |
|
17 |
|
- |
|
18 |
prumer_rotoru1 - |
- |
|
19 |
prumer_sroubu - odava prumer sroubu pro uchyceni lopatky |
- |
|
20 |
|
- |
|
21 |
|
- |
|
22 |
*/ |
- |
|
23 |
|
- |
|
24 |
|
6 |
|
25 |
|
7 |
module lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu) |
26 |
module lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu) |
8 |
{ |
27 |
{ |
9 |
|
28 |
|
10 |
union() |
29 |
union() |
11 |
{ |
30 |
{ |
12 |
|
31 |
|
13 |
//prechod lopatka drzak |
32 |
//prechod lopatka drzak |
14 |
difference() |
33 |
difference() |
15 |
{ |
34 |
{ |
16 |
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/4,0]) |
35 |
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/4,0]) |
17 |
cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true); |
36 |
cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true); |
18 |
sphere(d = prumer_lopatky, $fn=100); |
37 |
sphere(d = prumer_lopatky, $fn=100); |
19 |
} |
38 |
} |
20 |
|
39 |
|
21 |
difference() |
40 |
difference() |
22 |
{ |
41 |
{ |
- |
|
42 |
//lopatka |
- |
|
43 |
sphere(d = prumer_lopatky, $fn=100); |
23 |
|
44 |
|
24 |
//lopatka |
- |
|
25 |
sphere(d = prumer_lopatky, $fn=100); |
45 |
sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100); |
26 |
|
46 |
|
27 |
sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100); |
- |
|
28 |
|
- |
|
29 |
translate([0,-prumer_lopatky/2,-prumer_lopatky/2]) |
47 |
translate([0,-prumer_lopatky/2,-prumer_lopatky/2]) |
30 |
cube(size = prumer_lopatky); |
48 |
cube(size = prumer_lopatky); |
31 |
} |
49 |
} |
32 |
|
50 |
|
33 |
|
51 |
|
34 |
//uchyt_lopatky - tycka |
52 |
//uchyt_lopatky - tycka |
35 |
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/2+delka_uchytu_lopatky/2,0]) |
53 |
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/2+delka_uchytu_lopatky/2,0]) |
36 |
cube([hrana_uchytu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky],center=true); |
54 |
cube([hrana_uchytu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky],center=true); |
37 |
|
55 |
|
38 |
|
56 |
|
39 |
|
57 |
|
40 |
//uchyt lopatky cast v rotoru |
58 |
//uchyt lopatky cast v rotoru |
41 |
translate([-sila_uchytu/2,prumer_lopatky/2+delka_uchytu_lopatky+hloubka_uchytu/2,0]) |
59 |
translate([-sila_uchytu/2,prumer_lopatky/2+delka_uchytu_lopatky+hloubka_uchytu/2,0]) |
42 |
difference() |
60 |
difference() |
43 |
{ |
61 |
{ |
44 |
cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true); |
62 |
cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true); |
45 |
|
63 |
|
46 |
//otvor pro sroub |
64 |
//otvor pro sroub |
47 |
translate([0,0,0]) |
65 |
translate([0,0,0]) |
48 |
cylinder(h=vyska_uchytu+1, r=prumer_sroubu/2, center=true, $fn=100); |
66 |
cylinder(h=vyska_uchytu+1, r=prumer_sroubu/2, center=true, $fn=100); |
49 |
|
67 |
|
50 |
//zaobleni |
68 |
//zaobleni |
51 |
translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0]) |
69 |
translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0]) |
52 |
difference() |
70 |
difference() |
53 |
{ |
71 |
{ |
54 |
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100); |
72 |
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100); |
55 |
|
73 |
|
56 |
cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100); |
74 |
cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100); |
57 |
|
75 |
|
58 |
|
76 |
|
59 |
} |
77 |
} |
60 |
} |
78 |
} |
61 |
|
79 |
|
62 |
//vyrovnávací úsek mezi úchytem v rotoru a úchytem loplatky (tyčkou) |
80 |
//vyrovnávací úsek mezi úchytem v rotoru a úchytem loplatky (tyčkou) |
63 |
|
81 |
|
64 |
translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0]) |
82 |
translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0]) |
65 |
|
83 |
|
66 |
difference() |
84 |
difference() |
67 |
{ |
85 |
{ |
68 |
translate([-hrana_uchytu_lopatky/2,0,0]) |
86 |
translate([-hrana_uchytu_lopatky/2,0,0]) |
69 |
cube([hrana_uchytu_lopatky,10,hrana_uchytu_lopatky],center=true); |
87 |
cube([hrana_uchytu_lopatky,10,hrana_uchytu_lopatky],center=true); |
70 |
|
- |
|
71 |
translate([-sila_uchytu,+prumer_rotoru1/2-5/2,0]) |
- |
|
72 |
|
- |
|
73 |
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2, center=true, $fn=100); |
- |
|
74 |
|
- |
|
75 |
|
88 |
|
76 |
|
89 |
translate([-sila_uchytu,+prumer_rotoru1/2-5/2,0]) |
- |
|
90 |
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2, center=true, $fn=100); |
77 |
|
91 |
|
78 |
} |
92 |
} |
79 |
|
93 |
|
80 |
|
- |
|
81 |
|
- |
|
82 |
|
- |
|
83 |
} |
- |
|
84 |
} |
- |
|
85 |
|
94 |
|
- |
|
95 |
} |
- |
|
96 |
} |
- |
|
97 |
|
86 |
|
98 |
|