Line 3... |
Line 3... |
3 |
|
3 |
|
4 |
include <polyScrewThread_r1.scad> |
4 |
include <polyScrewThread_r1.scad> |
5 |
|
5 |
|
6 |
PI=3.141592; |
6 |
PI=3.141592; |
7 |
|
7 |
|
8 |
|
- |
|
- |
|
8 |
WINDGAUGE02A_S01(); |
9 |
|
9 |
|
10 |
module WINDGAUGE02A_S01() |
10 |
module WINDGAUGE02A_S01() |
11 |
{ |
11 |
{ |
12 |
difference() |
12 |
difference() |
13 |
{ |
13 |
{ |
Line 42... |
Line 42... |
42 |
cylinder (h = S01_vyska-S01_vyska_horni_zavit-(S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3), r=(S01_prumer_vnitrni)/2, $fn=100); |
42 |
cylinder (h = S01_vyska-S01_vyska_horni_zavit-(S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3), r=(S01_prumer_vnitrni)/2, $fn=100); |
43 |
|
43 |
|
44 |
} |
44 |
} |
45 |
} |
45 |
} |
46 |
|
46 |
|
47 |
difference() |
- |
|
48 |
{ |
- |
|
49 |
WINDGAUGE02A_S01(); |
- |
|
50 |
|
- |
|
51 |
cube(300); // cut to show internal relief |
- |
|
52 |
|
- |
|
53 |
} |
- |
|
54 |
|
- |
|
55 |
|
47 |
|
56 |
|
48 |
|
57 |
|
49 |
|
58 |
|
50 |
|
59 |
/* |
- |
|
60 |
module WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti,S01_vyska_na_elektroniku,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_vyska_prechodu,vule_mezi_statorem_rotorem,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_sila_materialu) |
- |
|
61 |
{ |
- |
|
62 |
|
- |
|
63 |
//zuzena cas komponentu |
- |
|
64 |
|
- |
|
65 |
translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko+S01_vyska_zuzene_casti)/2+S01_vyska_prechodu]) |
- |
|
66 |
|
- |
|
67 |
difference() |
- |
|
68 |
{ |
- |
|
69 |
cylinder (h = S01_vyska_zuzene_casti, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*S01_sila_materialu)/2, center = true, $fn=100); |
- |
|
70 |
|
- |
|
71 |
translate([0,0,-S01_vyska_zuzene_casti/2+S01_vyska_zuzene_casti-R02_sila_mateiralu_pod_lopatkami-S01_vyska_komponentu_na_lozisko]) |
- |
|
72 |
|
- |
|
73 |
screw_thread((R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem),S01_hloubka_zavitu,55,S01_vyska_zuzene_casti+0.01,PI/2,2); |
- |
|
74 |
|
- |
|
75 |
translate([0,0,-(S01_vyska_zuzene_casti/2)+(S01_vyska_zuzene_casti-R02_sila_mateiralu_pod_lopatkami-S01_vyska_komponentu_na_lozisko)/2]) |
- |
|
76 |
cylinder (h = S01_vyska_zuzene_casti-R02_sila_mateiralu_pod_lopatkami-S01_vyska_komponentu_na_lozisko+0.01, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2, center = true, $fn=100); |
- |
|
77 |
|
- |
|
78 |
|
- |
|
79 |
//translate([0,0,(stator3_vyska-stator3_vyska_prekryti)/2]) |
- |
|
80 |
|
- |
|
81 |
|
- |
|
82 |
} |
- |
|
83 |
|
- |
|
84 |
difference() |
- |
|
85 |
{ |
- |
|
86 |
|
- |
|
87 |
translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko+S01_vyska_prechodu)/2]) |
- |
|
88 |
|
- |
|
89 |
cylinder(h=S01_vyska_prechodu,r1=(S01_prumer_zavitu+2*S01_sila_materialu)/2, r2=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*S01_sila_materialu)/2, center=true); |
- |
|
90 |
|
- |
|
91 |
|
- |
|
92 |
translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko+S01_vyska_prechodu)/2]) |
- |
|
93 |
|
- |
|
94 |
cylinder(h=S01_vyska_prechodu,r1=(S01_prumer_zavitu)/2, r2=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2, center=true); |
- |
|
95 |
|
- |
|
96 |
|
- |
|
97 |
|
- |
|
98 |
} |
- |
|
99 |
|
- |
|
100 |
|
- |
|
101 |
//spodni cast se zavitem |
- |
|
102 |
|
- |
|
103 |
difference() |
- |
|
104 |
{ |
- |
|
105 |
cylinder (h = S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko, r=(S01_prumer_zavitu+2*S01_sila_materialu)/2, center = true, $fn=100); |
- |
|
106 |
|
- |
|
107 |
translate([0,0,-(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)/2]) |
- |
|
108 |
// metric_thread (diameter=S01_prumer_zavitu, pitch=1, length=S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko+0.01, internal=true, n_starts=6); |
- |
|
109 |
|
- |
|
110 |
screw_thread(S01_prumer_zavitu,4,55,S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko+0.01,PI/2,2); |
- |
|
111 |
|
- |
|
112 |
} |
- |
|
113 |
|
- |
|
114 |
} |
- |
|
115 |
*/ |
- |
|
116 |
|
- |
|
117 |
|
- |
|
118 |
|
51 |
|
119 |
|
- |
|
120 |
|
52 |
|
121 |
|
- |
|
122 |
|
- |
|