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);
}
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() { difference() {
// *** THE CLOUD ***
union() { union() {
translate([-4, -1]) // middle
circle(r=3, $fn=RESOLUTION); hexagon(10);
circle(r=5, $fn=RESOLUTION); // left branch
translate([6, 0]) translate([-2.5, 0])
circle(r=7, $fn=RESOLUTION); hexagon(8);
translate([12, 2]) translate([-6, -1])
circle(r=4, $fn=RESOLUTION); hexagon(4);
translate([13, -1]) // right branch
circle(r=5, $fn=RESOLUTION); translate([3, 2])
} hexagon(4);
translate([4.5, -1])
union() { hexagon(5);
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);
}
} }
// *** THE STAR ***
star(6, 0.75, 4);
} }