Line -... |
Line 1... |
- |
|
1 |
$fn=40; // model faces resolution. |
- |
|
2 |
//include <../configuration.scad> |
- |
|
3 |
|
- |
|
4 |
|
- |
|
5 |
|
- |
|
6 |
|
- |
|
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) |
- |
|
8 |
{ |
- |
|
9 |
|
- |
|
10 |
union() |
- |
|
11 |
{ |
- |
|
12 |
|
- |
|
13 |
//prechod lopatka drzak |
- |
|
14 |
difference() |
- |
|
15 |
{ |
- |
|
16 |
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/4,0]) |
- |
|
17 |
cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true); |
- |
|
18 |
sphere(d = prumer_lopatky, $fn=100); |
- |
|
19 |
} |
- |
|
20 |
|
- |
|
21 |
difference() |
- |
|
22 |
{ |
- |
|
23 |
|
- |
|
24 |
//lopatka |
- |
|
25 |
sphere(d = prumer_lopatky, $fn=100); |
- |
|
26 |
|
- |
|
27 |
sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100); |
- |
|
28 |
|
- |
|
29 |
translate([0,-prumer_lopatky/2,-prumer_lopatky/2]) |
- |
|
30 |
cube(size = prumer_lopatky); |
- |
|
31 |
} |
- |
|
32 |
|
- |
|
33 |
|
- |
|
34 |
//uchyt_lopatky - tycka |
- |
|
35 |
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); |
- |
|
37 |
|
- |
|
38 |
|
- |
|
39 |
|
- |
|
40 |
//uchyt lopatky cast v rotoru |
- |
|
41 |
translate([-sila_uchytu/2,prumer_lopatky/2+delka_uchytu_lopatky+hloubka_uchytu/2,0]) |
- |
|
42 |
difference() |
- |
|
43 |
{ |
- |
|
44 |
cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true); |
- |
|
45 |
|
- |
|
46 |
//otvor pro sroub |
- |
|
47 |
translate([0,0,0]) |
- |
|
48 |
cylinder(h=vyska_uchytu+1, r=prumer_sroubu, center=true, $fn=100); |
- |
|
49 |
|
- |
|
50 |
//zaobleni |
- |
|
51 |
translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0]) |
- |
|
52 |
difference() |
- |
|
53 |
{ |
- |
|
54 |
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100); |
- |
|
55 |
|
- |
|
56 |
cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100); |
- |
|
57 |
|
- |
|
58 |
|
- |
|
59 |
} |
- |
|
60 |
} |
- |
|
61 |
|
- |
|
62 |
//vyrovnávací úsek mezi úchytem v rotoru a úchytem loplatky (tyčkou) |
- |
|
63 |
|
- |
|
64 |
translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0]) |
- |
|
65 |
|
- |
|
66 |
difference() |
- |
|
67 |
{ |
- |
|
68 |
translate([-hrana_uchytu_lopatky/2,0,0]) |
- |
|
69 |
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 |
|
- |
|
76 |
|
- |
|
77 |
|
- |
|
78 |
} |
- |
|
79 |
|
- |
|
80 |
|
- |
|
81 |
|
- |
|
82 |
|
- |
|
83 |
} |
- |
|
84 |
} |
1 |
|
85 |
|