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(){ |
21 |
module long_logo(){ |
22 |
color("white") |
22 |
color("white") |
23 |
minkowski() |
23 |
minkowski() |
24 |
{ |
24 |
{ |
25 |
cube([100,25,2]); |
25 |
cube([110,25,2]); |
26 |
cylinder(r=2,h=1); |
26 |
cylinder(r=2,h=1); |
27 |
} |
27 |
} |
28 |
|
28 |
|
29 |
color("black") |
29 |
color("black") |
30 |
union (){ |
30 |
union (){ |
31 |
translate ([50, 12.5, 1]) // ODROIDs passive components hole. |
31 |
translate ([55, 12.5, 1]) // ODROIDs passive components hole. |
32 |
scale(v = [0.75, 0.75, 0.75]) |
32 |
scale(v = [0.75, 0.75, 0.75]) |
33 |
MLAB_logo_long(); |
33 |
MLAB_logo_long(); |
34 |
} |
34 |
} |
35 |
} |
35 |
} |
36 |
|
36 |
|
37 |
module short_logo(){ |
37 |
module short_logo(){ |
38 |
color("white") |
38 |
color("white") |
39 |
minkowski() |
39 |
minkowski() |
40 |
{ |
40 |
{ |
41 |
cube([50,25,2]); |
41 |
cube([55,25,2]); |
42 |
cylinder(r=2,h=1); |
42 |
cylinder(r=2,h=1); |
43 |
} |
43 |
} |
44 |
|
44 |
|
45 |
color("black") |
45 |
color("black") |
46 |
union (){ |
46 |
union (){ |
47 |
translate ([25, 12.5, 3]) // ODROIDs passive components hole. |
47 |
translate ([28, 12.5, 3]) // ODROIDs passive components hole. |
48 |
scale(v = [0.25, 0.25, 0.25]) |
48 |
scale(v = [0.25, 0.25, 0.25]) |
49 |
MLAB_logo_short(); |
49 |
MLAB_logo_short(); |
50 |
} |
50 |
} |
51 |
} |
51 |
} |
52 |
|
52 |
|
53 |
//short_logo(); |
53 |
//short_logo(); |
54 |
long_logo(); |
54 |
long_logo(); |
55 |
|
55 |
|
- |
|
56 |
module identification_logo(){ |
- |
|
57 |
color("white") |
- |
|
58 |
minkowski() |
- |
|
59 |
{ |
- |
|
60 |
cube([55,25,2]); |
- |
|
61 |
cylinder(r=2,h=1); |
- |
|
62 |
} |
- |
|
63 |
|
- |
|
64 |
color("black") |
- |
|
65 |
union (){ |
- |
|
66 |
translate ([28, 12.5, 3]) // ODROIDs passive components hole. |
- |
|
67 |
scale(v = [0.25, 0.25, 0.25]) |
56 |
//text("IRRAD01A"); |
68 |
text("IRRAD01A",20); |
- |
|
69 |
} |
- |
|
70 |
} |
- |
|
71 |
|
- |
|
72 |
//identification_logo(); |
57 |
|
73 |
|