Rev Author Line No. Line
4431 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
4436 jacho 3 include <polyScrewThread_r1.scad>
4  
5 PI=3.141592;
6  
4528 jacho 7 //Hlavní válec
4473 jacho 8  
4528 jacho 9 WINDGAUGE02A_S02();
4474 jacho 10  
11 module WINDGAUGE02A_S02()
4528 jacho 12 {
13 difference()
14 {
15 union()
16 {
17 //základní válec
18 cylinder (h = S01_vyska, r=(S01_prumer_vnitrni)/2+S01_sila_materialu, $fn=100);
4474 jacho 19  
4473 jacho 20  
4524 jacho 21  
4528 jacho 22 }
23  
24 //horní závit
25 translate([0,0,S01_vyska-S01_vyska_horni_zavit])
26 screw_thread(S01_prumer_vnitrni,S01_hloubka_zavitu,55,S01_vyska_horni_zavit+5,PI/2,2);
4474 jacho 27  
4528 jacho 28 //otvor na drzak rj11
29 translate([0,0,S01_vyska_spodniho_zavitu+S01_sila_drzaku_RJ11-0.3])
30 cylinder( 2*S01_sila_drzaku_RJ11, d1=(S01_prumer_vnitrni)-1-1.5*S01_hloubka_zavitu,d2=(S01_prumer_vnitrni) );
31  
32 translate([0,0,S01_vyska_spodniho_zavitu])
33 cylinder (h = S01_sila_drzaku_RJ11-0.3, r=(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2+0.5, $fn=100);
34  
35 //spodní závit
36 translate([0,0,-5])
37 screw_thread((S01_prumer_vnitrni),S01_hloubka_zavitu,55,S01_vyska_spodniho_zavitu+5+0.01,PI/2,2);
4474 jacho 38  
4528 jacho 39 //otvor skrz
40 translate([0,0,S01_vyska_spodniho_zavitu+3*S01_sila_drzaku_RJ11-0.3])
41 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);
4524 jacho 42  
4528 jacho 43 }
44 }
4474 jacho 45  
46  
4473 jacho 47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
4431 jacho 64  
65  
4462 jacho 66  
67  
68