Rev Author Line No. Line
4431 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3  
4440 jacho 4 include <WINDGAUGE02A_D02.scad>
5 include <polyScrewThread_r1.scad>
4431 jacho 6  
4440 jacho 7 PI=3.141592;
8  
4528 jacho 9 //Držák anemometru
4440 jacho 10  
4476 jacho 11 module WINDGAUGE02A_D01()
4528 jacho 12 {
13 difference()
4431 jacho 14 {
4528 jacho 15 union()
16 {
17 //výstuha
18 rotate ([0,-90,0])
19 linear_extrude (height = S01_sila_materialu, convexity = 10)
4541 jacho 20 polygon(points=[[D02_vyska_uchytky/2,D01_delka_tyce+S01_prumer_vnitrni/2+D01_material_pred_zavitem+D02_sila_materialu-1],[0, D01_delka_tyce+S01_prumer_vnitrni/2+D01_material_pred_zavitem+D02_sila_materialu-1],[0,S01_prumer_vnitrni/2+D01_material_pred_zavitem],[D01_material_pod_zavitem,S01_prumer_vnitrni/2+D01_material_pred_zavitem]]);
4528 jacho 21  
22 //zavit
23 translate([0,0,D01_material_pod_zavitem])
24 screw_thread(S01_prumer_vnitrni-S01_tolerance_zavit,4,55,S01_vyska_spodniho_zavitu,PI/2,2);
4431 jacho 25  
4528 jacho 26 //spodní valec
27 translate([0,0,D01_material_pod_zavitem/2])
28 cylinder (h = D01_material_pod_zavitem, r=(S01_prumer_vnitrni-S01_tolerance_zavit+D01_material_pred_zavitem*2)/2, center = true, $fn=100);
4431 jacho 29  
4528 jacho 30 //uchyt na tyc
31 translate([0,D01_delka_tyce/2+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2])
32 cube([D01_sirka_tyce,D01_delka_tyce,D01_material_pod_zavitem],center=true);
4491 jacho 33  
4528 jacho 34 //uchyt na tyc ovalna cast
35 translate([0,(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2])
36 cube([D01_sirka_tyce,D01_material_za_zavitem+D01_material_pred_zavitem,D01_material_pod_zavitem],center=true);
4491 jacho 37  
4528 jacho 38 //material kolem uchytu na sloupek
39 translate([0,D01_delka_tyce+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem+(D02_sila_materialu+D02_prumer_obruby/2)/2-D02_dotahova_vzdalenost,D01_material_pod_zavitem/2])
4491 jacho 40  
4528 jacho 41 difference()
42 {
43 cube([D01_sirka_tyce,D02_sila_materialu+D02_prumer_obruby/2,D01_material_pod_zavitem],center=true);
4440 jacho 44  
4528 jacho 45 translate([0,D02_prumer_obruby/2-D02_dotahova_vzdalenost-D02_sila_materialu,0])
46 cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true);
47 }
48  
49 //uchyt na sloupek
50 translate([0,D01_delka_tyce+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem+D02_sila_materialu+(D02_prumer_obruby)/2,D02_vyska_uchytky/2])
51 rotate(a=[0,0,270])
4541 jacho 52 WINDGAUGE02A_D02_2();
4431 jacho 53  
4528 jacho 54 }
4431 jacho 55  
4528 jacho 56 //otvor
57 translate([0,0,(D01_material_pod_zavitem+S01_vyska_spodniho_zavitu)/2])
58 cylinder (h = D01_material_pod_zavitem+S01_vyska_spodniho_zavitu+0.02, r=((S01_prumer_vnitrni-S01_tolerance_zavit)-2*D01_material_za_zavitem)/2, center = true, $fn=100);
4431 jacho 59  
4528 jacho 60 }
4440 jacho 61 }
62  
4476 jacho 63 WINDGAUGE02A_D01();
4431 jacho 64  
65  
66  
4440 jacho 67