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