summaryrefslogtreecommitdiffstats
path: root/case/logo.scad
blob: 3153ca1fdc8c84a5167ed2b363c56d14e04d8380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module logotype(size) {
    font            = "Proxima Nova Semibold";
    font_size_ratio = 1/5;

    text("XANTRONIX", font=font, size=size*font_size_ratio);

    translate([16, 0, 0])
    text("Z32", font=font, size=size);
}

module sextile(width) {
    ratio  = 33 / 197;
    margin = 0.5;

    for (angle = [0, -55, 55]) {
        rotate([0, 0, angle])
        square([width + margin, ratio * width + 2*margin], true);
    }
}