Rev Author Line No. Line
4442 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3 include <polyScrewThread_r1.scad>
4  
5  
4493 jacho 6 AWSCREEN01A_D03(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel);
4442 jacho 7  
8  
9  
10  
11  
12  
13  
14 module AWSCREEN01A_D03(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel)
15  
16 {
17 angle_sep = 360/D03_pocet_vyztuh;
18  
4498 jacho 19 //spodní kruh
20 difference () {
4554 jacho 21  
22  
4498 jacho 23 cylinder (h=3*D03_tloustka_materialu,r = D03_polomer_stitu,$fn=100);
24 translate ([0,0,-0.005])
25 cylinder (h=3*D03_tloustka_materialu+0.01,r = D03_polomer_stitu-D03_tloustka_materialu,$fn=100);
26  
27 }
4495 jacho 28  
4498 jacho 29  
4495 jacho 30 //horni zavit
4442 jacho 31 translate ([0,0,D03_vyska_stitu])
32 // screen upper rim
33 difference () {
4542 jacho 34 screw_thread((D03_polomer_zavitu-D03_tolerance_zavitu)*2,4,55,D03_vyska_zavitu+5,PI/2,2);
4442 jacho 35  
36 translate ([0,0,-0.01])
4495 jacho 37 cylinder (h=D03_vyska_zavitu+0.02 ,r= D03_polomer_zavitu -D03_tolerance_zavitu- D03_material_za_zavitem ,$fn=100);
4542 jacho 38  
39  
40 translate ([0,0,D03_vyska_zavitu-0.01])
41 cylinder (h=D03_vyska_zavitu+0.02 ,r= D03_polomer_zavitu ,$fn=100);
42  
4442 jacho 43 }
44  
45  
46  
4495 jacho 47 //screen
4498 jacho 48  
49 translate ([0,0,3*D03_tloustka_materialu])
4442 jacho 50 difference () {
4548 jacho 51 cylinder (h=D03_vyska_stitu-3*D03_tloustka_materialu,r1=D03_polomer_stitu ,r2=D03_polomer_zavitu-D03_tolerance_zavitu,$fn=100);
4442 jacho 52 translate ([0,0,-0.01/2])
4548 jacho 53 cylinder (h=D03_vyska_stitu-3*D03_tloustka_materialu+0.01,r1=D03_polomer_stitu-D03_tloustka_materialu ,r2=D03_polomer_zavitu- D03_material_za_zavitem-D03_tolerance_zavitu,$fn=100);
4442 jacho 54  
4493 jacho 55  
4442 jacho 56 }
57  
58  
59 //inner ring
60  
4554 jacho 61 //spodní závit
4442 jacho 62 difference () {
4554 jacho 63  
64 union(){
4495 jacho 65 cylinder (h=D03_vyska_zavitu,r = D03_polomer_zavitu + D03_material_za_zavitem/2,$fn=100);
4554 jacho 66  
67 //výztuhy
68 // center ribs
4442 jacho 69 for (i = [0 : (D03_pocet_vyztuh-1)]) {
70 rotate ([90,0,angle_sep* i])
71 translate ([0,0,-D03_tloustka_materialu/2])
72 linear_extrude (height = D03_tloustka_materialu, convexity = 10)
4553 jacho 73 polygon(points=[[D03_polomer_zavitu- D03_material_za_zavitem-D03_tolerance_zavitu,D03_vyska_stitu],[D03_polomer_zavitu, 0],[D03_polomer_stitu - D03_tloustka_materialu,0],[D03_polomer_stitu- D03_tloustka_materialu,3*D03_tloustka_materialu]]);
4442 jacho 74  
75 }
4554 jacho 76  
77  
78 }
79 translate([0,0,-1])
80 screw_thread(D03_polomer_zavitu*2,4,55,D03_vyska_zavitu+2,PI/2,2);
81 }
82  
83  
84  
4493 jacho 85 }