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 |
|
3 |
|
4 |
include <polyScrewThread_r1.scad> |
4 |
include <polyScrewThread_r1.scad> |
5 |
|
5 |
|
- |
|
6 |
//Držák na konektor RJ11 |
- |
|
7 |
|
6 |
PI=3.141592; |
8 |
PI=3.141592; |
7 |
module WINDGAUGE02A_S03() |
9 |
module WINDGAUGE02A_S03() |
8 |
{ |
10 |
{ |
9 |
difference() |
11 |
difference() |
10 |
{ |
- |
|
11 |
//valec se zavitem |
- |
|
12 |
union() { |
- |
|
13 |
|
- |
|
14 |
|
- |
|
15 |
difference() |
- |
|
16 |
{ |
12 |
{ |
17 |
|
- |
|
18 |
|
13 |
translate([0,0,0]) |
19 |
cylinder (h = S01_sila_materialu, r=(S01_prumer_vnitrni)/2-3, $fn=100); |
14 |
cylinder (h = S01_sila_drzaku_RJ11, r=(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2+0.5, $fn=100); |
20 |
|
- |
|
21 |
|
15 |
|
22 |
//otvor na pruchod hridelky |
- |
|
23 |
translate([0,0,S01_sila_materialu/2]) |
16 |
translate([0,0,S01_sila_drzaku_RJ11/2]) |
24 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnitrni+0.2)/2+lozisko_prekryv, center = true, $fn=100); |
- |
|
25 |
|
- |
|
26 |
//otvor na šroub 1 |
- |
|
27 |
translate([-senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
28 |
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100); |
- |
|
29 |
|
- |
|
30 |
//otvor na šroub 2 |
- |
|
31 |
translate([senzor_delka/2,-senzor_sirka/2,0]) |
- |
|
32 |
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100); |
- |
|
33 |
|
- |
|
34 |
//otvor na šroub 3 |
- |
|
35 |
translate([senzor_delka/2,senzor_sirka/2,0]) |
- |
|
36 |
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100); |
- |
|
37 |
|
- |
|
38 |
//otvor na šroub 4 |
- |
|
39 |
translate([-senzor_delka/2,senzor_sirka/2,0]) |
- |
|
40 |
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100); |
- |
|
41 |
|
- |
|
42 |
} |
- |
|
43 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
- |
|
44 |
difference() |
- |
|
45 |
{ |
- |
|
46 |
|
- |
|
47 |
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100); |
17 |
cube([S01_hrana_A_RJ11,S01_hrana_B_RJ11,S01_sila_drzaku_RJ11+0.01],center=true); |
48 |
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
49 |
|
- |
|
50 |
|
- |
|
51 |
} |
- |
|
52 |
|
- |
|
53 |
|
- |
|
54 |
|
18 |
|
- |
|
19 |
//otvor až ke kraji |
- |
|
20 |
translate([0,((S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2+0.5)/2,S01_sila_drzaku_RJ11/2]) cube([S01_hrana_A_RJ11,(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2+0.5,S01_sila_drzaku_RJ11+0.01],center=true); |
- |
|
21 |
} |
55 |
|
22 |
|
56 |
} |
- |
|
57 |
//otvor na šroub 1 |
- |
|
58 |
translate([-senzor_delka/2,-senzor_sirka/2,S01_sila_materialu]) |
- |
|
59 |
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100); |
- |
|
60 |
|
23 |
} |
61 |
//otvor na šroub 2 |
- |
|
62 |
translate([senzor_delka/2,-senzor_sirka/2,S01_sila_materialu]) |
- |
|
63 |
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100); |
- |
|
64 |
|
- |
|
65 |
//otvor na šroub 3 |
- |
|
66 |
translate([senzor_delka/2,senzor_sirka/2,S01_sila_materialu]) |
- |
|
67 |
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100); |
- |
|
68 |
|
- |
|
69 |
//otvor na šroub 4 |
- |
|
70 |
translate([-senzor_delka/2,senzor_sirka/2,S01_sila_materialu]) |
- |
|
71 |
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100); |
- |
|
72 |
} |
- |
|
73 |
|
- |
|
74 |
} |
- |
|
75 |
|
24 |
|
76 |
|
25 |
|
77 |
|
26 |
|
78 |
|
27 |
|
79 |
WINDGAUGE02A_S03(); |
28 |
WINDGAUGE02A_S03(); |
80 |
|
29 |
|
81 |
|
- |
|
82 |
/* |
- |
|
83 |
module WINDGAUGE02A_S03(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,vyska_hlavy_sroubu,prumer_hlavy_sroubu,S01_tolerance_zavit,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,S01_sila_materialu,S01_hloubka_zavitu) |
- |
|
84 |
{ |
- |
|
85 |
union() |
- |
|
86 |
{ |
- |
|
87 |
//valec se zavitem |
- |
|
88 |
difference() |
- |
|
89 |
{ |
- |
|
90 |
|
- |
|
91 |
screw_thread((R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)-S01_tolerance_zavit,S01_hloubka_zavitu,55,S01_vyska_komponentu_na_lozisko,PI/2,2); |
- |
|
92 |
|
- |
|
93 |
translate([0,0,S01_sila_materialu+S01_vyska_komponentu_na_lozisko/2]) |
- |
|
94 |
cylinder (h = 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)-S01_tolerance_zavit/2)/2-S01_hloubka_zavitu/2-S01_sila_materialu, center = true, $fn=100); |
- |
|
95 |
|
- |
|
96 |
//otvor na pruchod hridelky |
- |
|
97 |
translate([0,0,S01_sila_materialu/2]) |
- |
|
98 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+0.2)/2, center = true, $fn=100); |
- |
|
99 |
} |
- |
|
100 |
|
- |
|
101 |
//otvory na ložisko |
- |
|
102 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
- |
|
103 |
difference() |
- |
|
104 |
{ |
- |
|
105 |
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100); |
- |
|
106 |
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100); |
- |
|
107 |
|
- |
|
108 |
|
- |
|
109 |
} |
- |
|
110 |
|
- |
|
111 |
} |
- |
|
112 |
} |
- |
|
113 |
|
- |
|
114 |
|
- |
|
115 |
|
- |
|
116 |
|
- |
|
117 |
|
- |
|
118 |
WINDGAUGE02A_S03(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,vyska_hlavy_sroubu,prumer_hlavy_sroubu,S01_tolerance_zavit,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,S01_sila_materialu,S01_hloubka_zavitu); |
- |
|
119 |
|
- |
|
120 |
*/ |
- |
|