4536 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
include <../configuration.scad> |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
include <polyScrewThread_r1.scad> |
|
|
6 |
|
|
|
7 |
PI=3.141592; |
|
|
8 |
|
|
|
9 |
|
|
|
10 |
//Držák ložisek, rotoru, senzoru |
|
|
11 |
|
|
|
12 |
module WINDGAUGE01A_S01() |
|
|
13 |
{ |
|
|
14 |
//valec se zavitem |
|
|
15 |
union() |
|
|
16 |
{ |
|
|
17 |
difference() |
|
|
18 |
{ |
|
|
19 |
union() |
|
|
20 |
{ |
|
|
21 |
translate([0,0,S01_sila_materialu]) |
|
|
22 |
screw_thread((S01_prumer_vnitrni-S01_tolerance_zavit),S01_hloubka_zavitu,55,S01_vyska_horni_zavit,PI/2,2); |
|
|
23 |
|
|
|
24 |
//spodní doraz |
|
|
25 |
cylinder (h = S01_sila_materialu, r=S01_prumer_vnitrni/2+5/2*S01_sila_materialu, $fn=100); |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
//krycí ovál - usnadnění povolení |
|
|
29 |
difference() |
|
|
30 |
{ |
|
|
31 |
cylinder (h = R01_vyska_preryti_statoru+5, r=S01_prumer_vnitrni/2+5/2*S01_sila_materialu, $fn=100); |
|
|
32 |
|
|
|
33 |
cylinder (h = R01_vyska_preryti_statoru+5+0.01, r=S01_prumer_vnitrni/2+3/2*S01_sila_materialu, $fn=100); |
|
|
34 |
|
4545 |
jacho |
35 |
} |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
4536 |
jacho |
43 |
} |
|
|
44 |
|
|
|
45 |
//odstranění vnitřní výplně |
|
|
46 |
translate([0,0,S01_sila_materialu]) |
|
|
47 |
cylinder (h = S01_vyska_horni_zavit+0.01, r=S01_prumer_vnitrni/2-S01_hloubka_zavitu/2-S01_sila_materialu, $fn=100); |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
//otvor na ložisko s vodiči |
|
|
51 |
translate([0,0,S01_sila_materialu/2]) |
|
|
52 |
cylinder (h = S01_sila_materialu+0.01, r=(LO_spodni_prumer+0.2)/2, center = true, $fn=100); |
|
|
53 |
|
|
|
54 |
} |
|
|
55 |
|
4545 |
jacho |
56 |
//držák ložiska |
|
|
57 |
difference() |
|
|
58 |
{ |
|
|
59 |
cylinder (h = LO_vyska_bez_krytu, r=(LO_spodni_prumer+2*S01_sila_materialu)/2, $fn=100); |
|
|
60 |
|
|
|
61 |
translate([0,0,LO_vyska_bez_krytu]) |
|
|
62 |
cylinder(h=R02_zavit_vyska+100, r1=(LO_spodni_prumer+S01_sila_materialu)/2, r2=(LO_spodni_prumer+2*S01_sila_materialu)/2, center=false,$fn=100); |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
cylinder (h = LO_vyska_bez_krytu, r=(LO_spodni_prumer)/2, $fn=100); |
|
|
66 |
} |
|
|
67 |
//držák ložiska doraz |
|
|
68 |
difference() |
|
|
69 |
{ |
4536 |
jacho |
70 |
|
4545 |
jacho |
71 |
|
|
|
72 |
translate([0,0,LO_vyska_bez_krytu]) |
|
|
73 |
cylinder(h=2*S01_sila_materialu, r1=(LO_spodni_prumer+2*S01_sila_materialu)/2, r2=(LO_spodni_prumer)/2, center=false,$fn=100); |
|
|
74 |
|
|
|
75 |
translate([0,0,LO_vyska_bez_krytu]) |
|
|
76 |
cylinder(h=2*S01_sila_materialu, r1=(LO_spodni_prumer)/2, r2=(LO_spodni_prumer-2*S01_sila_materialu)/2, center=false,$fn=100); |
|
|
77 |
} |
|
|
78 |
|
4536 |
jacho |
79 |
} |
|
|
80 |
} |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
//sloupek na senzor |
|
|
84 |
module SLOUPEK() |
|
|
85 |
{ |
|
|
86 |
translate([0,0,S01_sila_materialu]) |
|
|
87 |
difference () |
|
|
88 |
{ |
|
|
89 |
|
|
|
90 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20); |
|
|
91 |
|
|
|
92 |
translate([0,0,R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky]) |
|
|
93 |
cylinder (h = vyska_matky+0.01, r= (sirka_matky+0.2)/2, $fn=6); |
|
|
94 |
|
|
|
95 |
translate([0,0,-0.01]) |
|
|
96 |
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=40); |
|
|
97 |
|
|
|
98 |
translate([0,0,-0.01]) |
|
|
99 |
cylinder (h = vyska_hlavy_sroubu-S01_sila_materialu, r= (prumer_hlavy_sroubu)/2, $fn=40); |
|
|
100 |
|
|
|
101 |
translate([0,0,vyska_hlavy_sroubu-S01_sila_materialu-0.02]) |
|
|
102 |
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2); |
|
|
103 |
|
|
|
104 |
} |
|
|
105 |
} |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
WINDGAUGE01A_S01(); |
|
|
110 |
|