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 |
include <polyScrewThread_r1.scad> |
3 |
include <polyScrewThread_r1.scad> |
4 |
PI=3.141592; |
4 |
PI=3.141592; |
- |
|
5 |
|
- |
|
6 |
|
- |
|
7 |
|
- |
|
8 |
|
5 |
WINDGAUGE02A_R01(); |
9 |
WINDGAUGE02A_R01(); |
6 |
|
10 |
|
- |
|
11 |
|
- |
|
12 |
|
7 |
//Model lopatky |
13 |
//Model lopatky |
8 |
module WINDGAUGE02A_R01() |
14 |
module WINDGAUGE02A_R01() |
9 |
{ |
15 |
{ |
10 |
difference() |
16 |
difference() |
11 |
{ |
17 |
{ |
Line 46... |
Line 52... |
46 |
{ |
52 |
{ |
47 |
union() |
53 |
union() |
48 |
{ |
54 |
{ |
49 |
//závit na ukotvení rotoru |
55 |
//závit na ukotvení rotoru |
50 |
//zakladni material |
56 |
//zakladni material |
51 |
cylinder (h = (S01_prumer_vnitrni/2+2*S01_sila_materialu)+R01_vyska_preryti_statoru, r=(lozisko_prumer_vnejsi/2-1), $fn=100); |
57 |
cylinder (h = (S01_prumer_vnitrni/2+4*S01_sila_materialu)+R01_vyska_preryti_statoru, r=(lozisko_prumer_vnejsi/2-1), $fn=100); |
52 |
|
58 |
|
53 |
vyztuhy(); |
59 |
vyztuhy(); |
54 |
} |
60 |
} |
55 |
|
61 |
|
56 |
//vnitrni zavit |
62 |
//vnitrni zavit |
Line 67... |
Line 73... |
67 |
module vyztuhy() |
73 |
module vyztuhy() |
68 |
{ |
74 |
{ |
69 |
difference() |
75 |
difference() |
70 |
{ |
76 |
{ |
71 |
translate([0,0,R01_vyska_preryti_statoru]) |
77 |
translate([0,0,R01_vyska_preryti_statoru]) |
72 |
cylinder(h=(S01_prumer_vnitrni/2+4*S01_sila_materialu), r1=(lozisko_prumer_vnejsi/2-1), r2=(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu)-R01_vyska_preryti_statoru, center=false, $fn=100); |
78 |
cylinder(h=(S01_prumer_vnitrni/2+5*S01_sila_materialu), r1=(lozisko_prumer_vnejsi/2-1), r2=(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+5*S01_sila_materialu)-R01_vyska_preryti_statoru, center=false, $fn=100); |
73 |
|
79 |
|
74 |
//vykousnutí 1 |
80 |
//vykousnutí 1 |
75 |
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005]) |
81 |
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005]) |
76 |
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(S01_prumer_vnitrni/2+4*S01_sila_materialu)+0.01],center=false); |
82 |
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(S01_prumer_vnitrni/2+4*S01_sila_materialu)+0.01],center=false); |
77 |
|
83 |
|
Line 90... |
Line 96... |
90 |
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005]) |
96 |
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005]) |
91 |
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(S01_prumer_vnitrni/2+4*S01_sila_materialu)+0.01],center=false); |
97 |
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+4*S01_sila_materialu),(S01_prumer_vnitrni/2+4*S01_sila_materialu)+0.01],center=false); |
92 |
difference() |
98 |
difference() |
93 |
{ |
99 |
{ |
94 |
translate([0,0,R01_vyska_preryti_statoru]) |
100 |
translate([0,0,R01_vyska_preryti_statoru]) |
95 |
sphere(d = (S01_prumer_vnitrni/2+12*S01_sila_materialu)*2, $fn=100); |
101 |
sphere(d = (S01_prumer_vnitrni/2+21*S01_sila_materialu)*2, $fn=100); |
96 |
|
102 |
|
97 |
translate([0,0,R01_vyska_preryti_statoru]) |
103 |
translate([0,0,R01_vyska_preryti_statoru]) |
98 |
sphere(d = (S01_prumer_vnitrni/2+3*S01_sila_materialu)*2, $fn=100); |
104 |
sphere(d = (S01_prumer_vnitrni/2+4*S01_sila_materialu)*2, $fn=100); |
99 |
|
105 |
|
100 |
} |
106 |
} |
101 |
} |
107 |
} |
102 |
} |
108 |
} |
103 |
|
109 |
|