1 |
$fn=40; // model faces resolution. |
1 |
$fn=40; // model faces resolution. |
2 |
include <../configuration.scad> |
2 |
include <../configuration.scad> |
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
//Model lopatky |
6 |
//Model lopatky |
7 |
|
7 |
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
module WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky) |
10 |
module WINDGAUGE02A_L01() |
11 |
|
11 |
|
12 |
union() |
12 |
union() |
13 |
{ |
13 |
{ |
14 |
|
14 |
|
15 |
//prechod lopatka drzak |
15 |
//prechod lopatka drzak |
16 |
difference() |
16 |
difference() |
17 |
{ |
17 |
{ |
18 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/4,0]) |
18 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/4,0]) |
19 |
cube([L01_hrana_drzaku_a,(L01_prumer_lopatky/2)+5,L01_hrana_drzaku_b],center=true); |
19 |
cube([L01_hrana_drzaku_a,(L01_prumer_lopatky/2)+5,L01_hrana_drzaku_b],center=true); |
20 |
sphere(d = L01_prumer_lopatky, $fn=100); |
20 |
sphere(d = L01_prumer_lopatky, $fn=100); |
21 |
} |
21 |
} |
22 |
|
22 |
|
23 |
difference() |
23 |
difference() |
24 |
{ |
24 |
{ |
25 |
//lopatka |
25 |
//lopatka |
26 |
sphere(d = L01_prumer_lopatky, $fn=100); |
26 |
sphere(d = L01_prumer_lopatky, $fn=100); |
27 |
|
27 |
|
28 |
sphere(d = L01_prumer_lopatky-2*L01_sila_materialu_lopatky, $fn=100); |
28 |
sphere(d = L01_prumer_lopatky-2*L01_sila_materialu_lopatky, $fn=100); |
29 |
|
29 |
|
30 |
|
30 |
|
31 |
translate([0,-L01_prumer_lopatky/2,-L01_prumer_lopatky/2]) |
31 |
translate([0,-L01_prumer_lopatky/2,-L01_prumer_lopatky/2]) |
32 |
cube(size = L01_prumer_lopatky); |
32 |
cube(size = L01_prumer_lopatky); |
33 |
} |
33 |
} |
34 |
|
34 |
|
35 |
|
35 |
|
36 |
//uchyt_lopatky - tycka |
36 |
//uchyt_lopatky - tycka |
37 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu/2,0]) |
37 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu/2,0]) |
38 |
cube([L01_hrana_drzaku_a,L01_delka_uchytu,L01_hrana_drzaku_b],center=true); |
38 |
cube([L01_hrana_drzaku_a,L01_delka_uchytu,L01_hrana_drzaku_b],center=true); |
39 |
|
39 |
|
40 |
//uchyt_lopatky - tycka v rotoru |
40 |
//uchyt_lopatky - tycka v rotoru |
41 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2,0]) |
41 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2,0]) |
42 |
cube([L01_hrana_drzaku_a,L01_hloubka_zapusteni,L01_hrana_drzaku_b],center=true); |
42 |
cube([L01_hrana_drzaku_a,L01_hloubka_zapusteni,L01_hrana_drzaku_b],center=true); |
43 |
|
43 |
|
44 |
//uchyt_lopatky - v rotoru |
44 |
//uchyt_lopatky - v rotoru |
45 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni+L01_sila_zapusteni_drzaku/2,0]) |
45 |
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni+L01_sila_zapusteni_drzaku/2,0]) |
46 |
cube([L01_hrana_drzaku_a,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_b+2*L01_hloubka_zapusteni_drzaku],center=true); |
46 |
cube([L01_hrana_drzaku_a,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_b+2*L01_hloubka_zapusteni_drzaku],center=true); |
47 |
|
47 |
|
48 |
} |
48 |
} |
49 |
|
49 |
|
50 |
// WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky); |
50 |
// WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky); |