summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-13 21:43:43 -0500
committerXANTRONIX Development2023-11-13 21:43:43 -0500
commit59ab05cf32b162d5f21cabfd9a971662bf224720 (patch)
tree8dad6f8fbf6df90bb72096a06f647f74b0214e56
parent4d30b3a808d86d16316a250809723211bc292f6c (diff)
downloadxantronix-z32-59ab05cf32b162d5f21cabfd9a971662bf224720.tar.gz
xantronix-z32-59ab05cf32b162d5f21cabfd9a971662bf224720.tar.bz2
xantronix-z32-59ab05cf32b162d5f21cabfd9a971662bf224720.zip
Let the secrets unfold
-rw-r--r--case/top.scad26
1 files changed, 24 insertions, 2 deletions
diff --git a/case/top.scad b/case/top.scad
index 0d0a135..8ce26a6 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -9,12 +9,34 @@ wall_width = 2.5000;
wall_height = 17.2500;
accent_width = 1.0000;
-accent_y_stride = 19.0500; /* last accent is 4mm from top of case */
+accent_height = 0.5;
+accent_y_stride = 19.0500;
accent_y_bottom = 12.0000;
+/* last accent is 4mm from top of case */
fin_width = 2.0000;
-fin_gap_width = 2.0000;
+fin_length = 2.0000;
fin_height = 12.0000;
+fin_gap_width = 2.0000;
fin_x_stride = 2.0000;
fin_x_first = 139.7500;
fin_count = 32;
+
+key_switch_width = 19.0500;
+key_switch_length = 19.0500;
+keyboard_width = key_switch_width * 13.5;
+keyboard_length = key_switch_length * 5.0;
+keyboard_x_offset = 12.2500;
+keyboard_y_offset = 12.2500;
+
+difference() {
+ square([case_width_bottom, case_length_bottom], false);
+ translate([keyboard_x_offset, keyboard_y_offset, 0])
+ square([keyboard_width, keyboard_length], false);
+
+ for (y = [accent_y_bottom: accent_y_stride: case_width_bottom]) {
+ translate([0, y, 0])
+ square([case_width_bottom, accent_width], false);
+ }
+}
+