Update darknebula Logo

This commit is contained in:
maride 2018-01-22 16:55:34 +01:00
parent 6fa0a729cd
commit de20fc8636

View File

@ -1,25 +1,31 @@
RESOLUTION=180;
module hexagon(size) {
rotate([0, 0, 360/12])
circle(d=size, $fn=6);
}
difference() {
union() {
translate([-4, -1])
circle(r=3, $fn=RESOLUTION);
circle(r=5, $fn=RESOLUTION);
translate([6, 0])
circle(r=7, $fn=RESOLUTION);
translate([12, 2])
circle(r=4, $fn=RESOLUTION);
translate([13, -1])
circle(r=5, $fn=RESOLUTION);
}
union() {
translate([6, 0]) {
square([1, 6], center=true);
rotate([0, 0, 120])
square([1, 6], center=true);
rotate([0, 0, 240])
square([1, 6], center=true);
}
module star(bar_amount, bar_width, bar_length) {
for(i = [0 : 360/bar_amount: 360/2-1]) {
rotate([0, 0, i])
square([bar_width, bar_length], center=true);
}
}
difference() {
// *** THE CLOUD ***
union() {
// middle
hexagon(10);
// left branch
translate([-2.5, 0])
hexagon(8);
translate([-6, -1])
hexagon(4);
// right branch
translate([3, 2])
hexagon(4);
translate([4.5, -1])
hexagon(5);
}
// *** THE STAR ***
star(6, 0.75, 4);
}