xantronix-z32/case/logo.scad

20 lines
432 B
OpenSCAD
Raw Permalink Normal View History

2023-11-20 12:54:09 -05:00
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);
}
}