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  
9  
10  
4476 jacho 11 module WINDGAUGE02A_D01()
4431 jacho 12 {
13  
14 difference()
15 {
16  
4440 jacho 17 union()
18 {
19 //zavit
20 translate([0,0,D01_material_pod_zavitem])
4476 jacho 21 screw_thread(S01_prumer_vnitrni-S01_tolerance_zavit,4,55,S01_vyska_spodniho_zavitu,PI/2,2);
4431 jacho 22  
4440 jacho 23 //spodnĂ­ valec
24 translate([0,0,D01_material_pod_zavitem/2])
4476 jacho 25 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 26  
4440 jacho 27 //uchyt na tyc
4476 jacho 28 translate([0,D01_delka_tyce/2+(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2])
4491 jacho 29 cube([D01_sirka_tyce,D01_delka_tyce,D01_material_pod_zavitem],center=true);
30  
31  
32  
33  
34  
35  
36  
37  
4440 jacho 38 //uchyt na tyc ovalna cast
4476 jacho 39 translate([0,(S01_prumer_vnitrni-S01_tolerance_zavit)/2+D01_material_pred_zavitem,D01_material_pod_zavitem/2])
4440 jacho 40 cube([D01_sirka_tyce,D01_material_za_zavitem+D01_material_pred_zavitem,D01_material_pod_zavitem],center=true);
41  
42  
43 //material kolem uchytu na sloupek
4476 jacho 44 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])
4440 jacho 45 difference()
4431 jacho 46 {
4440 jacho 47 cube([D01_sirka_tyce,D02_sila_materialu+D02_prumer_obruby/2,D01_material_pod_zavitem],center=true);
48 translate([0,D02_prumer_obruby/2-D02_dotahova_vzdalenost-D02_sila_materialu,0])
49 cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true);
50  
51 }
52  
4431 jacho 53  
54  
4440 jacho 55 //uchyt na sloupek
56  
4476 jacho 57 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])
4440 jacho 58 rotate(a=[0,0,270])
4476 jacho 59 WINDGAUGE02A_D02();
4431 jacho 60  
4440 jacho 61 }
4431 jacho 62  
4440 jacho 63 //otvor
4476 jacho 64 translate([0,0,(D01_material_pod_zavitem+S01_vyska_spodniho_zavitu)/2])
65 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 66  
4440 jacho 67 }
68 }
69  
4476 jacho 70 WINDGAUGE02A_D01();
4431 jacho 71  
72  
73  
4440 jacho 74