Rev Author Line No. Line
4214 roman 1 $fn = 50;
2  
3 module LCDBoxHolder(){
4 translate([0,5,0])union(){
5 translate([-1.5,-10,0]) cube([3,45,2]);
6 translate([0,0,2]) cylinder(4,1,1);
7 translate([0,31,2]) cylinder(4,1,1);
8 }
9 difference(){
10 translate([0,0,0]) union(){
11 hull(){
12 translate([7.02,0,6]) rotate([90,0,0]) cylinder(5,10/2,10/2);
13 translate([-3.14,0,6]) rotate([90,0,0]) cylinder(5,10/2,10/2);
14 }
15 }
16 translate([0,0,2]) union(){
17 translate([7.02,0,4]) rotate([90,0,0]) cylinder(5,3/2,3/2);
18 translate([-3.14,0,4]) rotate([90,0,0]) cylinder(5,3/2,3/2);
19 translate([7.02,0,4]) rotate([90,0,0]) cylinder(1,6/2,6/2);
20 translate([-3.14,0,4]) rotate([90,0,0]) cylinder(1,6/2,6/2);
21 translate([7.02,2-5,4]) rotate([90,0,0]) cylinder(2,6/2,6/2, $fn=6);
22 translate([-3.14,2-5,4]) rotate([90,0,0]) cylinder(2,6/2,6/2, $fn=6);
23  
24 }
25 }
26 }
27  
28 module LCDBoxHolderAB(){
29 translate([0,5,0])union(){
30 translate([-1.5,-10,0]) cube([3,45,3]);
31 translate([0,0,2]) cylinder(4,1,1);
32 translate([0,31,2]) cylinder(4,1,1);
33 }
34 translate([75,5,0])union(){
35 translate([-1.5,-10,0]) cube([3,45,3]);
36 translate([0,0,2]) cylinder(4,1,1);
37 translate([0,31,2]) cylinder(4,1,1);
38 }
39 difference(){
40 translate([0,0,0]) union(){
41 translate([-3.14-5,-5,0]) cube([(3.14+5)+10.16*8+(5-3.14), 5, 6]);
42 hull(){
43 translate([-3.14+10.16*8,0,6]) rotate([90,0,0]) cylinder(5,10/2,10/2);
44 translate([-3.14,0,6]) rotate([90,0,0]) cylinder(5,10/2,10/2);
45 }
46 }
47 for(x = [0:8]){
48 translate([0,0,2]) union(){
49 translate([-3.14+10.16*x,0,4]) rotate([90,0,0]) cylinder(5,3/2,3/2);
50 translate([-3.14+10.16*x,0,4]) rotate([90,0,0]) cylinder(1,6/2,6/2);
51 translate([-3.14+10.16*x,2-5,4]) rotate([90,0,0]) cylinder(2,6/2,6/2, $fn=6);
52 }
53 }
54 }
55 }
56  
57 //mirror([1,0,0]) LCDBoxHolder();
58 //translate([-50,0,0]) LCDBoxHolder();
59  
60 translate([-50,0,0]) LCDBoxHolderAB();