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 |
//dilec do loziska |
4 |
//dilec do loziska |
5 |
module WINDGAUGE02A_R04 (lozisko_prumer_vnitrni,lozisko_prekryv,S01_sila_materialu,prumer_sroubu) |
5 |
module WINDGAUGE02A_R04 () |
6 |
{ |
6 |
{ |
7 |
difference() |
7 |
difference() |
8 |
{ |
8 |
{ |
9 |
|
9 |
|
10 |
union() |
10 |
union() |
11 |
{ |
11 |
{ |
12 |
translate([0,0,0]) |
12 |
translate([0,0,0]) |
13 |
cylinder (h = S01_sila_materialu, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100); |
13 |
cylinder (h = S01_sila_materialu, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100); |
14 |
|
14 |
|
15 |
translate([0,0,S01_sila_materialu]) |
- |
|
16 |
cylinder (h = S01_sila_materialu, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+2*S01_sila_materialu)/2, center = true, $fn=100); |
- |
|
17 |
|
15 |
|
18 |
translate([0,0,-2*S01_sila_materialu]) |
- |
|
19 |
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnitrni/2), center = true, $fn=100); |
- |
|
20 |
} |
16 |
} |
21 |
translate([0,0,1/2*S01_sila_materialu-(lozisko_vyska)/2]) |
17 |
translate([0,0,1/2*S01_sila_materialu-(lozisko_vyska)/2]) |
22 |
cylinder (h = 2*S01_sila_materialu+lozisko_vyska+0.1, r=((prumer_sroubu)/2), center = true, $fn=100); |
18 |
cylinder (h = 2*S01_sila_materialu+lozisko_vyska+0.1, r=((prumer_osicky)/2), center = true, $fn=100); |
23 |
|
19 |
|
24 |
|
20 |
|
25 |
} |
21 |
} |
26 |
} |
22 |
} |
27 |
|
23 |
|
28 |
WINDGAUGE02A_R04 (lozisko_prumer_vnitrni,lozisko_prekryv,S01_sila_materialu,prumer_sroubu); |
- |
|
29 |
|
24 |
WINDGAUGE02A_R04 (); |
- |
|
25 |
|
30 |
|
26 |
|