Add badging to end product
This commit is contained in:
parent
f665bd6dbd
commit
5b7959ff80
1 changed files with 17 additions and 1 deletions
|
@ -218,11 +218,26 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
||||||
support([left_support_length + 2*eps, support_height], support_width);
|
support([left_support_length + 2*eps, support_height], support_width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module badge() {
|
||||||
|
module badge_text() {
|
||||||
|
text("XANTRONIX", font="Proxima Nova Semibold", size=2);
|
||||||
|
|
||||||
|
translate([16, 0, 0])
|
||||||
|
text("Z32", font="Proxima Nova Semibold", size=10);
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([keyboard_x_offset,
|
||||||
|
keyboard_y_offset + keyboard_pcb_length + keyboard_switch_length + accent_width,
|
||||||
|
wall_height - accent_depth])
|
||||||
|
linear_extrude(accent_depth + eps)
|
||||||
|
badge_text();
|
||||||
|
}
|
||||||
|
|
||||||
module body() {
|
module body() {
|
||||||
translate([0, 0, wall_height - wall_width])
|
translate([0, 0, wall_height - wall_width])
|
||||||
fascia();
|
fascia();
|
||||||
|
|
||||||
/* Upper */
|
/* Upper */
|
||||||
translate([0, case_length_bottom - wall_width, 0])
|
translate([0, case_length_bottom - wall_width, 0])
|
||||||
cube([case_width_bottom, wall_width, wall_height], false);
|
cube([case_width_bottom, wall_width, wall_height], false);
|
||||||
|
@ -240,6 +255,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
body();
|
body();
|
||||||
|
badge();
|
||||||
accents();
|
accents();
|
||||||
vents();
|
vents();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue