Rev 4481 Rev 4497
1 $fn=50; 1 $fn=50;
2   2  
3 use <./../../../../../Library/Graphics/MLAB_logo.scad> 3 use <./../../../../../Library/Graphics/MLAB_logo.scad>
4   4  
5 module short_logo(){ 5 module short_logo(){
6 color("white") 6 color("white")
7 minkowski() 7 minkowski()
8 { 8 {
9 cube([50,25,2]); 9 cube([50,25,2]);
10 cylinder(r=2,h=1); 10 cylinder(r=2,h=1);
11 } 11 }
12   12  
13 color("black") 13 color("black")
14 union (){ 14 union (){
15 translate ([25, 12.5, 3]) // ODROIDs passive components hole. 15 translate ([25, 12.5, 3]) // ODROIDs passive components hole.
16 scale(v = [0.25, 0.25, 0.25]) 16 scale(v = [0.25, 0.25, 0.25])
17 MLAB_logo_short(); 17 MLAB_logo_short();
18 } 18 }
19 } 19 }
20   20  
21 module long_logo(indented = 1){ 21 module long_logo(indented = 1){
22 if(indented == 0) 22 if(indented == 0)
23 { 23 {
24 color("white") 24 color("white")
25 minkowski() 25 minkowski()
26 { 26 {
27 cube([110,25,2]); 27 cube([110,25,1]);
28 cylinder(r=2,h=1); 28 cylinder(r=2,h=1);
29 } 29 }
30 color("black") 30 color("black")
31 union (){ 31 union (){
32 translate ([55, 12.5, 1]) // ODROIDs passive components hole. 32 translate ([55, 12.5, 0]) // ODROIDs passive components hole.
33 scale(v = [0.75, 0.75, 0.75]) 33 scale(v = [0.75, 0.75, 0.75])
34 MLAB_logo_long(); 34 MLAB_logo_long();
35 } 35 }
36 } 36 }
37 else 37 else
38 { 38 {
39 difference(){ 39 difference(){
40 color("white") 40 color("white")
41 minkowski() 41 minkowski()
42 { 42 {
43 cube([110,25,2]); 43 cube([110,25,2]);
44 cylinder(r=2,h=1); 44 cylinder(r=2,h=1);
45 } 45 }
46 union (){ 46 union (){
47 translate ([55, 12.5, 1.5]) // ODROIDs passive components hole. 47 translate ([55, 12.5, 1.5]) // ODROIDs passive components hole.
48 scale(v = [0.75, 0.75, 0.75]) 48 scale(v = [0.75, 0.75, 0.75])
49 MLAB_logo_long(); 49 MLAB_logo_long();
50 } 50 }
51 } 51 }
52 } 52 }
53 } 53 }
54   -  
55 module short_logo(){ -  
56 color("white") -  
57 minkowski() -  
58 { -  
59 cube([55,25,2]); -  
60 cylinder(r=2,h=1); -  
61 } -  
62   -  
63 color("black") -  
64 union (){ -  
65 translate ([28, 12.5, 3]) // ODROIDs passive components hole. -  
66 scale(v = [0.25, 0.25, 0.25]) -  
67 MLAB_logo_short(); -  
68 } -  
69 } -  
70   54  
71 //short_logo(); 55 //short_logo();
72 long_logo(indented = 0); 56 long_logo(indented = 0);
73   57  
74 module identification_logo(){ 58 module identification_logo(){
75 color("white") 59 color("white")
76 minkowski() 60 minkowski()
77 { 61 {
78 cube([55,25,2]); 62 cube([55,25,2]);
79 cylinder(r=2,h=1); 63 cylinder(r=2,h=1);
80 } 64 }
81   65  
82 color("black") 66 color("black")
83 union (){ 67 union (){
84 translate ([28, 12.5, 3]) // ODROIDs passive components hole. 68 translate ([28, 12.5, 3]) // ODROIDs passive components hole.
85 scale(v = [0.25, 0.25, 0.25]) 69 scale(v = [0.25, 0.25, 0.25])
86 text("IRRAD01A",20); 70 text("IRRAD01A",20);
87 } 71 }
88 } 72 }
89   73  
90 //identification_logo(); 74 //identification_logo();