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 |
S01_vyska=80; |
- |
|
9 |
S01_prumer_vnitrni=30; |
- |
|
10 |
S01_sila_materialu=2; |
- |
|
11 |
S01_vyska_horni_zavit=10; |
- |
|
12 |
S01_vyska_spodniho_zavitu=10; |
- |
|
13 |
S01_sila_drzaku_RJ11=2; |
- |
|
14 |
|
- |
|
15 |
|
- |
|
16 |
module WINDGAUGE02A_S01(S01_vyska,S01_prumer_vnitrni,S01_sila_materialu) |
- |
|
17 |
{ |
- |
|
18 |
|
- |
|
19 |
difference() |
- |
|
20 |
{ |
- |
|
21 |
|
- |
|
22 |
union() |
- |
|
23 |
{ |
- |
|
24 |
//základní válec |
- |
|
25 |
cylinder (h = S01_vyska-S01_vyska_horni_zavit, r=(S01_prumer_vnitrni)/2+S01_sila_materialu, $fn=100); |
- |
|
26 |
|
- |
|
27 |
//horní závit |
- |
|
28 |
translate([0,0,S01_vyska-S01_vyska_horni_zavit]) |
- |
|
29 |
screw_thread((S01_prumer_vnitrni+2*S01_sila_materialu),S01_hloubka_zavitu,55,S01_vyska_horni_zavit,PI/2,2); |
- |
|
30 |
|
- |
|
31 |
} |
- |
|
32 |
|
- |
|
33 |
//vystouplá část |
- |
|
34 |
translate([0,0,S01_vyska_spodniho_zavitu+S01_sila_drzaku_RJ11-0.3]) |
- |
|
35 |
cylinder (h = S01_sila_drzaku_RJ11, r=(S01_prumer_vnitrni)/2-1-S01_hloubka_zavitu/2, $fn=100); |
- |
|
36 |
//otvor na drzak rj11 |
- |
|
37 |
translate([0,0,S01_vyska_spodniho_zavitu]) |
- |
|
38 |
cylinder (h = S01_sila_drzaku_RJ11-0.3, r=(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2, $fn=100); |
- |
|
39 |
|
- |
|
40 |
//spodní závit |
- |
|
41 |
screw_thread((S01_prumer_vnitrni),S01_hloubka_zavitu,55,S01_vyska_spodniho_zavitu+0.01,PI/2,2); |
- |
|
42 |
|
- |
|
43 |
//otvor skrz |
- |
|
44 |
translate([0,0,S01_vyska_spodniho_zavitu+2*S01_sila_drzaku_RJ11-0.3]) |
- |
|
45 |
cylinder (h = S01_vyska, r=(S01_prumer_vnitrni)/2-1, $fn=100); |
- |
|
46 |
} |
- |
|
47 |
} |
- |
|
48 |
|
- |
|
49 |
|
- |
|
50 |
WINDGAUGE02A_S01(S01_vyska,S01_prumer_vnitrni,S01_sila_materialu); |
- |
|
51 |
|
- |
|
52 |
|
- |
|
53 |
|
- |
|
54 |
|
- |
|
55 |
|
- |
|
56 |
|
- |
|
57 |
|
- |
|
58 |
|
- |
|
59 |
|
- |
|
60 |
/* |
8 |
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 |
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) |
9 |
{ |
62 |
{ |
10 |
|
63 |
|
11 |
//zuzena cas komponentu |
64 |
//zuzena cas komponentu |
12 |
|
65 |
|
Line 58... |
Line 111... |
58 |
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 |
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); |
59 |
|
112 |
|
60 |
} |
113 |
} |
61 |
|
114 |
|
62 |
} |
115 |
} |
63 |
|
116 |
*/ |
64 |
|
117 |
|
65 |
|
118 |
|
66 |
|
119 |
|
67 |
|
120 |
|
68 |
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); |
121 |
|
69 |
|
122 |
|
70 |
|
123 |
|