4429 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
//include <../configuration.scad> |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
module stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu) |
|
|
7 |
{ |
|
|
8 |
difference() |
|
|
9 |
{ |
|
|
10 |
cylinder (h = stator1_sila, r=(lozisko_prumer_vnejsi+10+sirka_matky)/2, center = true, $fn=100); |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
//otvor pro hridel rotoru |
|
|
14 |
translate([0,0,0]) |
|
|
15 |
cylinder (h = stator1_sila+0.1, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+2)/2, center = true, $fn=100); |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
//otvor pro sroub 1 |
|
|
20 |
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0]) |
|
|
21 |
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
|
|
22 |
|
|
|
23 |
//otvor pro sroub 2 |
|
|
24 |
rotate(a=[0,0,120]) |
|
|
25 |
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0]) |
|
|
26 |
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
|
|
27 |
|
|
|
28 |
//otvor pro sroub 3 |
|
|
29 |
rotate(a=[0,0,240]) |
|
|
30 |
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0]) |
|
|
31 |
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100); |
|
|
32 |
} |
|
|
33 |
} |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|