4431 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
include <../configuration.scad> |
4528 |
jacho |
3 |
include <polyScrewThread_r1.scad> |
|
|
4 |
PI=3.141592; |
|
|
5 |
WINDGAUGE02A_R01(); |
4431 |
jacho |
6 |
|
4528 |
jacho |
7 |
//Model lopatky |
4476 |
jacho |
8 |
module WINDGAUGE02A_R01() |
4528 |
jacho |
9 |
{ |
|
|
10 |
difference() |
|
|
11 |
{ |
|
|
12 |
union() |
4431 |
jacho |
13 |
{ |
4528 |
jacho |
14 |
//koule vrchní - kryt |
|
|
15 |
translate([0,0,R01_vyska_preryti_statoru]) |
4533 |
jacho |
16 |
sphere(d = (S01_prumer_vnitrni/2+5*S01_sila_materialu)*2, $fn=100); |
4528 |
jacho |
17 |
|
|
|
18 |
//spodní válec |
4533 |
jacho |
19 |
cylinder (h = R01_vyska_preryti_statoru, r=S01_prumer_vnitrni/2+5*S01_sila_materialu, $fn=100); |
4528 |
jacho |
20 |
|
|
|
21 |
//lopatka 1 |
4533 |
jacho |
22 |
translate([L01_hrana_drzaku_a/2,-(S01_prumer_vnitrni/2+2*S01_sila_materialu+L01_delka_uchytu+L01_prumer_lopatky/2),0]) |
4528 |
jacho |
23 |
lopatka(); |
4431 |
jacho |
24 |
|
4528 |
jacho |
25 |
//lopatka 2 |
|
|
26 |
rotate([0, 0, 120]) |
4533 |
jacho |
27 |
translate([L01_hrana_drzaku_a/2,-(S01_prumer_vnitrni/2+2*S01_sila_materialu+L01_delka_uchytu+L01_prumer_lopatky/2),0]) |
4528 |
jacho |
28 |
lopatka(); |
|
|
29 |
|
|
|
30 |
//lopatka 3 |
|
|
31 |
rotate([0, 0, 240]) |
4533 |
jacho |
32 |
translate([L01_hrana_drzaku_a/2,-(S01_prumer_vnitrni/2+2*S01_sila_materialu+L01_delka_uchytu+L01_prumer_lopatky/2),0]) |
4528 |
jacho |
33 |
lopatka(); |
|
|
34 |
} |
|
|
35 |
|
|
|
36 |
//Odečet spodního válce |
|
|
37 |
translate([0,0,-(S01_prumer_vnitrni/2+2*S01_sila_materialu)]) |
4533 |
jacho |
38 |
cylinder (h = R01_vyska_preryti_statoru+(S01_prumer_vnitrni/2+2*S01_sila_materialu), r=S01_prumer_vnitrni/2+4*S01_sila_materialu, $fn=100); |
4528 |
jacho |
39 |
|
|
|
40 |
//odecet koule |
|
|
41 |
translate([0,0,R01_vyska_preryti_statoru]) |
4533 |
jacho |
42 |
sphere(d = (S01_prumer_vnitrni/2+4*S01_sila_materialu)*2, $fn=100); |
4528 |
jacho |
43 |
} |
|
|
44 |
|
|
|
45 |
difference() |
|
|
46 |
{ |
|
|
47 |
union() |
|
|
48 |
{ |
|
|
49 |
//závit na ukotvení rotoru |
|
|
50 |
//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); |
4431 |
jacho |
52 |
|
4528 |
jacho |
53 |
vyztuhy(); |
|
|
54 |
} |
|
|
55 |
|
|
|
56 |
//vnitrni zavit |
|
|
57 |
translate([0,0,-5]) |
|
|
58 |
screw_thread((11),3,55,R01_vyska_preryti_statoru+10,PI/2,2); |
|
|
59 |
|
|
|
60 |
//za závitem aby to slo tisknout |
|
|
61 |
translate([0,0,R01_vyska_preryti_statoru+5]) |
|
|
62 |
cylinder(h=(5), r1=(11)/2, r2=0, center=false, $fn=100); |
|
|
63 |
|
|
|
64 |
} |
|
|
65 |
} |
|
|
66 |
|
|
|
67 |
module vyztuhy() |
|
|
68 |
{ |
|
|
69 |
difference() |
|
|
70 |
{ |
|
|
71 |
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); |
|
|
73 |
|
|
|
74 |
//vykousnutí 1 |
|
|
75 |
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); |
|
|
77 |
|
|
|
78 |
//vykousnutí 2 |
|
|
79 |
rotate([0, 0, 90]) |
|
|
80 |
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005]) |
|
|
81 |
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); |
4431 |
jacho |
82 |
|
4528 |
jacho |
83 |
//vykousnutí 3 |
|
|
84 |
rotate([0, 0, 180]) |
|
|
85 |
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005]) |
|
|
86 |
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); |
4431 |
jacho |
87 |
|
4528 |
jacho |
88 |
//vykousnutí 4 |
|
|
89 |
rotate([0, 0, 270]) |
|
|
90 |
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); |
|
|
92 |
difference() |
|
|
93 |
{ |
|
|
94 |
translate([0,0,R01_vyska_preryti_statoru]) |
|
|
95 |
sphere(d = (S01_prumer_vnitrni/2+12*S01_sila_materialu)*2, $fn=100); |
4476 |
jacho |
96 |
|
4528 |
jacho |
97 |
translate([0,0,R01_vyska_preryti_statoru]) |
|
|
98 |
sphere(d = (S01_prumer_vnitrni/2+3*S01_sila_materialu)*2, $fn=100); |
4431 |
jacho |
99 |
|
4528 |
jacho |
100 |
} |
|
|
101 |
} |
|
|
102 |
} |
4533 |
jacho |
103 |
|
4528 |
jacho |
104 |
module lopatka() |
|
|
105 |
{ |
|
|
106 |
difference() |
|
|
107 |
{ |
|
|
108 |
union() |
|
|
109 |
{ |
|
|
110 |
translate([0,0,L01_prumer_lopatky/2]) |
|
|
111 |
sphere(d = L01_prumer_lopatky, $fn=100); |
4431 |
jacho |
112 |
|
4533 |
jacho |
113 |
translate([-L01_hrana_drzaku_a,0,0]) |
4528 |
jacho |
114 |
cube([L01_hrana_drzaku_a,L01_delka_uchytu+L01_prumer_lopatky/2+10,L01_hrana_drzaku_b],center=false); |
4431 |
jacho |
115 |
|
4528 |
jacho |
116 |
//podpěra |
|
|
117 |
translate([0,0,0]) |
|
|
118 |
cylinder(h=(L01_prumer_lopatky/2), r1=L01_prumer_lopatky/3.5, r2=L01_prumer_lopatky/2, center=false, $fn=100); |
|
|
119 |
|
|
|
120 |
} |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
translate([0,0,L01_prumer_lopatky/2]) |
|
|
124 |
sphere(d = L01_prumer_lopatky-L01_sila_materialu_lopatky*2, $fn=100); |
4431 |
jacho |
125 |
|
4533 |
jacho |
126 |
translate([0,-L01_prumer_lopatky,0]) |
4528 |
jacho |
127 |
cube([L01_prumer_lopatky+0.01,2*(L01_delka_uchytu+L01_prumer_lopatky/2+10),L01_prumer_lopatky],center=false); |
|
|
128 |
|
|
|
129 |
} |
4431 |
jacho |
130 |
} |