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  
19 translate ([0,0,D03_vyska_stitu])
20 // screen upper rim
21 difference () {
22 screw_thread((D03_polomer_zavitu-D03_tolerance_zavitu)*2,4,55,D03_vyska_zavitu,PI/2,2);
23  
24 translate ([0,0,-0.01])
4493 jacho 25 cylinder (h=D03_vyska_zavitu+0.02 ,r= D03_polomer_zavitu -D03_tolerance_zavitu- 2*D03_material_za_zavitem ,$fn=100);
4442 jacho 26 }
27  
28  
29  
30 //screen
31  
32 difference () {
4493 jacho 33 cylinder (h=D03_vyska_stitu,r1=D03_polomer_stitu-D03_tolerance_zavitu ,r2=D03_polomer_zavitu,$fn=100);
4442 jacho 34 translate ([0,0,-0.01/2])
4493 jacho 35 cylinder (h=D03_vyska_stitu+0.01,r1=D03_polomer_stitu-D03_tloustka_materialu ,r2=D03_polomer_zavitu -D03_tolerance_zavitu- 2*D03_material_za_zavitem,$fn=100);
4442 jacho 36  
4493 jacho 37  
4442 jacho 38 }
39  
40  
41 //inner ring
42  
43  
44 difference () {
45 cylinder (h=D03_vyska_zavitu,r = D03_polomer_zavitu + D03_material_za_zavitem,$fn=100);
46 translate([0,0,-1])
47 screw_thread(D03_polomer_zavitu*2,4,55,D03_vyska_zavitu+2,PI/2,2);
48 }
49  
50  
51 // center ribs
52 for (i = [0 : (D03_pocet_vyztuh-1)]) {
53 rotate ([90,0,angle_sep* i])
54 translate ([0,0,-D03_tloustka_materialu/2])
55 linear_extrude (height = D03_tloustka_materialu, convexity = 10)
4493 jacho 56 polygon(points=[[D03_polomer_zavitu, D03_vyska_zavitu],[D03_polomer_zavitu, 0],[D03_polomer_stitu - D03_tloustka_materialu,0],[D03_polomer_zavitu,D03_vyska_stitu]]);
4442 jacho 57  
58 }
4493 jacho 59 }