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 |
|
3 |
|
- |
|
4 |
/* |
- |
|
5 |
prumer_rotoru1 - vnejsi prumer |
- |
|
6 |
vyska_rotoru1 - vyska rotoru1 bez vysky uchytu lopatky |
- |
|
7 |
prumer_sroubu- |
- |
|
8 |
vyska_matky - |
- |
|
9 |
prumer_orechu - vnejsi prumer nástroje pro dotahovani matky |
- |
|
10 |
sila_materialu - pro pripad vyvoreni zapusti pro kryt rotoru |
- |
|
11 |
sila_materialu_vule |
- |
|
12 |
hloubka_prekryti - hloubka zapusteni krytu rotoru |
- |
|
13 |
hloubka_uchytu - definovano lopatkou |
- |
|
14 |
sila_uchytu - definovano lopatkou |
- |
|
15 |
vyska_uchytu - definovano lopatkou |
- |
|
16 |
tolerance_uchytu - definovano lopatkou |
- |
|
17 |
|
- |
|
18 |
*/ |
- |
|
19 |
|
- |
|
20 |
//rotor1(prumer_rotoru1,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,sila_materialu,sila_materialu_vule,hloubka_prekryti,hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu); |
4 |
|
21 |
|
5 |
|
22 |
|
6 |
module rotor1(prumer_rotoru1,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,sila_materialu,sila_materialu_vule,hloubka_prekryti,hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu) |
23 |
module rotor1(prumer_rotoru1,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,sila_materialu,sila_materialu_vule,hloubka_prekryti,hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu) |
7 |
{ |
24 |
{ |
8 |
difference() |
25 |
difference() |
Line 14... |
Line 31... |
14 |
|
31 |
|
15 |
|
32 |
|
16 |
translate([0,0,vyska_rotoru1/2]) |
33 |
translate([0,0,vyska_rotoru1/2]) |
17 |
cylinder (h = hloubka_prekryti, r=(prumer_rotoru1/2) -sila_materialu-sila_materialu_vule, center = true, $fn=100); |
34 |
cylinder (h = hloubka_prekryti, r=(prumer_rotoru1/2) -sila_materialu-sila_materialu_vule, center = true, $fn=100); |
18 |
|
35 |
|
19 |
//otvory pro lopatky |
36 |
//otvory pro lopatky |
20 |
translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2-(vyska_uchytu+tolerance_uchytu)/2]) |
37 |
translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2-(vyska_uchytu+tolerance_uchytu)/2]) |
21 |
|
38 |
|
22 |
//otvory pro lopatky |
39 |
//otvory pro lopatky |
23 |
difference () |
40 |
difference () |
24 |
{ |
41 |
{ |
25 |
cylinder (h = vyska_uchytu+tolerance_uchytu, r=(prumer_rotoru1/2), center = true, $fn=100); |
42 |
cylinder (h = vyska_uchytu+tolerance_uchytu, r=(prumer_rotoru1/2), center = true, $fn=100); |
26 |
|
43 |
|
27 |
cylinder (h = vyska_uchytu+2*tolerance_uchytu, r=(prumer_rotoru1/2-hloubka_uchytu+5), center = true, $fn=100); |
44 |
cylinder (h = vyska_uchytu+2*tolerance_uchytu, r=(prumer_rotoru1/2-hloubka_uchytu+5), center = true, $fn=100); |
Line 68... |
Line 85... |
68 |
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100); |
85 |
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100); |
69 |
|
86 |
|
70 |
//otvor pro uchyceni treti lopatky |
87 |
//otvor pro uchyceni treti lopatky |
71 |
rotate(a=[0,0,240]) |
88 |
rotate(a=[0,0,240]) |
72 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2]) |
89 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2]) |
73 |
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
90 |
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
74 |
|
91 |
|
75 |
rotate(a=[0,0,240]) |
92 |
rotate(a=[0,0,240]) |
76 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2]) |
93 |
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2]) |
77 |
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100); |
94 |
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100); |
78 |
|
95 |
|