| Line 4... |
Line 4... |
| 4 |
|
4 |
|
| 5 |
|
5 |
|
| 6 |
//stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer); |
6 |
//stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer); |
| 7 |
|
7 |
|
| 8 |
module stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer) |
8 |
module stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer) |
| 9 |
{ |
9 |
{ |
| 10 |
difference() |
10 |
difference() |
| 11 |
{ |
11 |
{ |
| 12 |
//translate([90,0,0]) |
12 |
//translate([90,0,0]) |
| 13 |
|
13 |
|
| 14 |
cube(size = [roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu,roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu, vyska_stator4], center = true); |
14 |
cube(size = [roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu,roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu, vyska_stator4], center = true); |
| 15 |
|
15 |
|
| 16 |
//díry pro uchycení anemometru |
16 |
//díry pro uchycení anemometru |
| 17 |
translate([roztec_sroubu/2,roztec_sroubu/2,0]) |
17 |
translate([roztec_sroubu/2,roztec_sroubu/2,0]) |
| 18 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
18 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
| 19 |
|
19 |
|
| 20 |
translate([-roztec_sroubu/2,roztec_sroubu/2,0]) |
20 |
translate([-roztec_sroubu/2,roztec_sroubu/2,0]) |
| 21 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
21 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
| 22 |
|
22 |
|
| 23 |
translate([roztec_sroubu/2,-roztec_sroubu/2,0]) |
23 |
translate([roztec_sroubu/2,-roztec_sroubu/2,0]) |
| 24 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
24 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
| 25 |
|
25 |
|
| 26 |
translate([-roztec_sroubu/2,-roztec_sroubu/2,0]) |
26 |
translate([-roztec_sroubu/2,-roztec_sroubu/2,0]) |
| 27 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
27 |
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100); |
| 28 |
|
28 |
|
| 29 |
|
29 |
|
| 30 |
//dira na kabel |
30 |
//dira na kabel |
| 31 |
|
31 |
|
| 32 |
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100); |
32 |
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100); |
| 33 |
|
33 |
|
| 34 |
//díry pro matky |
34 |
//díry pro matky |
| 35 |
translate([roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
35 |
translate([roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
| 36 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
36 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
| 37 |
|
37 |
|
| 38 |
translate([-roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
38 |
translate([-roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
| 39 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
39 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
| 40 |
|
40 |
|
| 41 |
translate([roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
41 |
translate([roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
| 42 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
42 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
| 43 |
|
43 |
|
| 44 |
translate([-roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
44 |
translate([-roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2]) |
| 45 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
45 |
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100); |
| 46 |
} |
46 |
} |
| 47 |
|
47 |
|
| 48 |
} |
48 |
} |
| 49 |
|
49 |
|
| 50 |
|
50 |
|