Rev 4392 Rev 4481
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,2]);
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, 1]) // 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   54  
55 module short_logo(){ 55 module short_logo(){
56 color("white") 56 color("white")
57 minkowski() 57 minkowski()
58 { 58 {
59 cube([55,25,2]); 59 cube([55,25,2]);
60 cylinder(r=2,h=1); 60 cylinder(r=2,h=1);
61 } 61 }
62   62  
63 color("black") 63 color("black")
64 union (){ 64 union (){
65 translate ([28, 12.5, 3]) // ODROIDs passive components hole. 65 translate ([28, 12.5, 3]) // ODROIDs passive components hole.
66 scale(v = [0.25, 0.25, 0.25]) 66 scale(v = [0.25, 0.25, 0.25])
67 MLAB_logo_short(); 67 MLAB_logo_short();
68 } 68 }
69 } 69 }
70   70  
71 //short_logo(); 71 //short_logo();
72 long_logo(indented = 1); 72 long_logo(indented = 0);
73   73  
74 module identification_logo(){ 74 module identification_logo(){
75 color("white") 75 color("white")
76 minkowski() 76 minkowski()
77 { 77 {
78 cube([55,25,2]); 78 cube([55,25,2]);
79 cylinder(r=2,h=1); 79 cylinder(r=2,h=1);
80 } 80 }
81   81  
82 color("black") 82 color("black")
83 union (){ 83 union (){
84 translate ([28, 12.5, 3]) // ODROIDs passive components hole. 84 translate ([28, 12.5, 3]) // ODROIDs passive components hole.
85 scale(v = [0.25, 0.25, 0.25]) 85 scale(v = [0.25, 0.25, 0.25])
86 text("IRRAD01A",20); 86 text("IRRAD01A",20);
87 } 87 }
88 } 88 }
89   89  
90 //identification_logo(); 90 //identification_logo();