Rev Author Line No. Line
4442 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3 include <polyScrewThread_r1.scad>
4  
5  
4508 jacho 6 AWSCREEN01A_D04();
7  
8  
9 module AWSCREEN01A_D04()
10  
4442 jacho 11 {
4709 jacho 12 union()
13 {
4508 jacho 14 difference()
15 {
16 union()
17 {
18  
19 difference()
20 {
21 translate([0,0,0])
4542 jacho 22 cylinder (h = D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu+4*D01_material_pred_zavitem)/2, $fn=12);
23  
24 translate([0,0,-0.01])
4544 jacho 25 cylinder (h = 0.01+D01_material_pod_zavitem+D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu-2*D01_material_za_zavitem)/2, $fn=100);
4508 jacho 26 }
4442 jacho 27  
4508 jacho 28 difference()
29 {
30 translate([0,0,D04_sila_materialu_na_konektor])
4544 jacho 31 screw_thread(S01_prumer_zavitu-2*D01_material_za_zavitem-2*D03_tolerance_zavitu-2*D03_tolerance_zavitu,4,55,D01_material_pod_zavitem+4,PI/2,2);
4543 jacho 32  
4508 jacho 33  
4543 jacho 34 translate([0,0,D04_sila_materialu_na_konektor+D01_material_pod_zavitem])
35 cylinder (h = 5, r=(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu+10)/2, $fn=100);
36  
37  
4544 jacho 38 cylinder (h = 0.01+D01_material_pod_zavitem+D04_sila_materialu_na_konektor, r=(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu-2*D01_material_za_zavitem)/2, $fn=100);
4508 jacho 39 }
4542 jacho 40  
41 //materiál držáku konektoru
42 translate([0,0,D04_sila_materialu_na_konektor/2])
43 cube([D04_konenektor_x+12,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem),D04_sila_materialu_na_konektor],true);
4543 jacho 44  
4709 jacho 45 //odstranění spodních výčnělků
46 translate([0,0,-25/2])
47 cube([S01_prumer_zavitu,S01_prumer_zavitu,25],true);
4543 jacho 48  
49  
4542 jacho 50 //vrchní válec
51 translate([0,5,D04_sila_materialu_na_konektor+D04_konenektor_z])
52  
53 rotate ([90,0,0])
4543 jacho 54 difference()
55 {
4544 jacho 56 cylinder (h = (S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6+2*D03_tloustka_materialu)/2, $fn=100);
4543 jacho 57  
4554 jacho 58 translate([0,-(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/4,(D04_konenektor_x+6+2*D03_tloustka_materialu)/2])
4543 jacho 59  
4554 jacho 60 cube([(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,D04_konenektor_x+6+2*D03_tloustka_materialu],true);
4543 jacho 61 }
4542 jacho 62  
4508 jacho 63 }
64  
65 //otvor na konektor
66 translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem-2)/2+D04_konenektor_y/2,-0.01])
4542 jacho 67 cube([D04_konenektor_x,D04_konenektor_y,10],true);
4508 jacho 68  
69 //dotvoření otvoru
70 //pro nasunutí ve spodní části
71 translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2,-0.01])
72 cube([D04_konenektor_x,D04_konenektor_y,18],true);
73  
4542 jacho 74 translate([0,-(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/4,D04_sila_materialu_na_konektor+(D04_konenektor_z)/2])
4554 jacho 75 //odstranění spodního kvádru v oblasti krytu konektoru
76 cube([D04_konenektor_x+6,(S01_prumer_zavitu-D01_material_za_zavitem-2*D03_tolerance_zavitu-D01_material_za_zavitem)/2+8,D04_konenektor_z+0.01],true);
4508 jacho 77  
4542 jacho 78 //odstranění vrchního válce
4543 jacho 79 translate([0,5-D03_tloustka_materialu,D04_sila_materialu_na_konektor+D04_konenektor_z])
4542 jacho 80  
81 rotate ([90,0,0])
4543 jacho 82 difference()
83 {
4554 jacho 84 cylinder (h = (S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2, r=(D04_konenektor_x+6)/2, $fn=100);
4543 jacho 85 //odečtení půl válce
4554 jacho 86 translate([0,-(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/4,((S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu))/2])
4543 jacho 87  
4554 jacho 88 cube([(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)/2,(S01_prumer_zavitu-2*D01_material_za_zavitem-4*D03_tolerance_zavitu)],true);
4543 jacho 89 }
4542 jacho 90  
91  
92 //otvor na senzor v držáku
93 translate([0,7,-2])
94 translate([0,0,(15+5.08)/2-(5.08+3.3+2)/2])
95 cube([10.16,3,25],true);
96  
4694 jacho 97 //odstranění spodních výčnělků
98 translate([0,0,-25/2])
99 cube([S01_prumer_zavitu,S01_prumer_zavitu,25],true);
4542 jacho 100  
4508 jacho 101 }
4542 jacho 102  
4543 jacho 103 translate([0,7,(D04_vyska_drzaku_senzoru)/2])
4508 jacho 104 difference()
105 {
4543 jacho 106 cube([10.16+2*D03_tloustka_materialu,3+2*D03_tloustka_materialu,D04_vyska_drzaku_senzoru],true);
107  
108 cube([10.16,3,D04_vyska_drzaku_senzoru+0.01],true);
109 translate([0,5,D04_vyska_drzaku_senzoru/2-3.08])
4508 jacho 110 rotate ([90,0,0])
111 cylinder (h = 30, r=(3.3/2), $fn=100);
112 }
4709 jacho 113 }
4508 jacho 114 }