summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-30 21:29:01 -0500
committerXANTRONIX Development2023-11-30 21:29:01 -0500
commitc9868284464d61c6fbf693395a965e9ec89d4eb8 (patch)
tree1336e258551267b50bbc9939ed1de7b0a9b71d14
parent3ad75932fe1d0932182206bccdfaa80e23ec05c8 (diff)
downloadxantronix-z32-c9868284464d61c6fbf693395a965e9ec89d4eb8.tar.gz
xantronix-z32-c9868284464d61c6fbf693395a965e9ec89d4eb8.tar.bz2
xantronix-z32-c9868284464d61c6fbf693395a965e9ec89d4eb8.zip
Make accent lines a bit more true to the originalmain
-rw-r--r--case/top.scad14
1 files changed, 8 insertions, 6 deletions
diff --git a/case/top.scad b/case/top.scad
index 2d4daef..de42276 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -5,10 +5,10 @@ include <logo.scad>
module top_case(with_keyboard=false, as_flat=false) {
eps = 0.01;
- accent_width = 1.0000;
+ accent_width = 0.5;
accent_depth = 0.5;
- accent_y_stride = (keyboard_pcb_length - accent_width) / 5.0;
- accent_y_bottom = keyboard_y_offset;
+ accent_y_stride = keyboard_switch_length;
+ accent_y_bottom = keyboard_y_offset - accent_width / 2;
vent_width = 2.0000;
vent_length = wall_width;
@@ -61,7 +61,9 @@ module top_case(with_keyboard=false, as_flat=false) {
}
module accents() {
- for (y = [accent_y_bottom: accent_y_stride: case_length_bottom]) {
+ y_end = case_length_bottom - (case_length_bottom - case_length_top) / 2;
+
+ for (y = [accent_y_bottom: accent_y_stride: y_end]) {
/* Top */
translate([-eps, y - eps, wall_height - accent_depth])
cube([case_width_bottom+2*eps, accent_width + 2*eps, accent_depth+eps]);
@@ -179,13 +181,13 @@ module top_case(with_keyboard=false, as_flat=false) {
module badges() {
translate([keyboard_x_offset,
- keyboard_y_offset + keyboard_pcb_length + keyboard_switch_length + accent_width,
+ keyboard_y_offset + keyboard_pcb_length + keyboard_switch_length + accent_width * 2,
wall_height - accent_depth])
linear_extrude(accent_depth + eps)
logotype(size=10);
sextile_width = 16.0;
- sextile_y = keyboard_y_offset + (keyboard_switch_width + accent_width) / 2;
+ sextile_y = keyboard_y_offset + (keyboard_switch_width + accent_width) / 2 + accent_width;
sextile_x = case_width_bottom - sextile_width;
translate([sextile_x, sextile_y, wall_height - accent_depth])