Rev 4391 | Rev 4392 | ||
---|---|---|---|
Line 16... | Line 16... | ||
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(indented = 1){ |
22 | color("white") |
- | |
23 | minkowski() |
22 | if(indented == 0) |
24 | { |
23 | { |
- | 24 | color("white") |
|
- | 25 | minkowski() |
|
- | 26 | { |
|
25 | cube([110,25,2]); |
27 | cube([110,25,2]); |
26 | cylinder(r=2,h=1); |
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 | } |
|
- | 36 | } |
|
- | 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 | } |
|
27 | } |
52 | } |
28 | |
- | |
29 | color("black") |
- | |
30 | union (){ |
- | |
31 | translate ([55, 12.5, 1]) // ODROIDs passive components hole. |
- | |
32 | scale(v = [0.75, 0.75, 0.75]) |
- | |
33 | MLAB_logo_long(); |
- | |
34 | } |
- | |
35 | } |
53 | } |
36 | |
54 | |
37 | module short_logo(){ |
55 | module short_logo(){ |
38 | color("white") |
56 | color("white") |
39 | minkowski() |
57 | minkowski() |
Line 49... | Line 67... | ||
49 | MLAB_logo_short(); |
67 | MLAB_logo_short(); |
50 | } |
68 | } |
51 | } |
69 | } |
52 | |
70 | |
53 | //short_logo(); |
71 | //short_logo(); |
54 | long_logo(); |
72 | long_logo(indented = 1); |
55 | |
73 | |
56 | module identification_logo(){ |
74 | module identification_logo(){ |
57 | color("white") |
75 | color("white") |
58 | minkowski() |
76 | minkowski() |
59 | { |
77 | { |