Rev Author Line No. Line
4431 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3  
4436 jacho 4 include <polyScrewThread_r1.scad>
4431 jacho 5  
4436 jacho 6 PI=3.141592;
4474 jacho 7 module WINDGAUGE02A_S03()
8 {
9 difference()
10 {
11 //valec se zavitem
12 union() {
4436 jacho 13  
4474 jacho 14  
15 difference()
16 {
17  
18  
19 cylinder (h = S01_sila_materialu, r=(S01_prumer_vnitrni)/2-3, $fn=100);
20  
21  
22 //otvor na pruchod hridelky
23 translate([0,0,S01_sila_materialu/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);
48 cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100);
49  
50  
51 }
52  
53  
54  
55  
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  
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  
76  
77  
78  
79 WINDGAUGE02A_S03();
80  
81  
82 /*
4462 jacho 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)
4431 jacho 84 {
4462 jacho 85 union()
86 {
87 //valec se zavitem
4431 jacho 88 difference()
89 {
4462 jacho 90  
4472 jacho 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);
4462 jacho 92  
93 translate([0,0,S01_sila_materialu+S01_vyska_komponentu_na_lozisko/2])
4472 jacho 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);
4436 jacho 95  
4462 jacho 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 }
4431 jacho 100  
101 //otvory na ložisko
4462 jacho 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);
4431 jacho 106 cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100);
107  
108  
4462 jacho 109 }
110  
111 }
112 }
4431 jacho 113  
114  
115  
116  
117  
4462 jacho 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);
4474 jacho 119  
120 */