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 |
{ |
4497 |
kaklik |
27 |
cube([110,25,1]); |
4392 |
kaklik |
28 |
cylinder(r=2,h=1); |
|
|
29 |
} |
|
|
30 |
color("black") |
|
|
31 |
union (){ |
4497 |
kaklik |
32 |
translate ([55, 12.5, 0]) // ODROIDs passive components hole. |
4392 |
kaklik |
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 |
//short_logo(); |
4481 |
kaklik |
56 |
long_logo(indented = 0); |
4387 |
kaklik |
57 |
|
4391 |
kaklik |
58 |
module identification_logo(){ |
|
|
59 |
color("white") |
|
|
60 |
minkowski() |
|
|
61 |
{ |
|
|
62 |
cube([55,25,2]); |
|
|
63 |
cylinder(r=2,h=1); |
|
|
64 |
} |
|
|
65 |
|
|
|
66 |
color("black") |
|
|
67 |
union (){ |
|
|
68 |
translate ([28, 12.5, 3]) // ODROIDs passive components hole. |
|
|
69 |
scale(v = [0.25, 0.25, 0.25]) |
|
|
70 |
text("IRRAD01A",20); |
|
|
71 |
} |
|
|
72 |
} |
|
|
73 |
|
|
|
74 |
//identification_logo(); |