summaryrefslogtreecommitdiffstats
path: root/case
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-14 00:01:47 -0500
committerXANTRONIX Development2023-11-14 00:01:47 -0500
commit0aa9db4debe370407fdc29f9a21256d1e2d3ca9a (patch)
tree93963c3a4b5b5d4c2570e2d5266e3b47dbe99c4a /case
parent2aa662fcbc4a2d7cf36c1d376cbeb78bdae19016 (diff)
downloadxantronix-z32-0aa9db4debe370407fdc29f9a21256d1e2d3ca9a.tar.gz
xantronix-z32-0aa9db4debe370407fdc29f9a21256d1e2d3ca9a.tar.bz2
xantronix-z32-0aa9db4debe370407fdc29f9a21256d1e2d3ca9a.zip
That's a good place to leave it for now
Diffstat (limited to 'case')
-rw-r--r--case/top.scad32
1 files changed, 24 insertions, 8 deletions
diff --git a/case/top.scad b/case/top.scad
index a4a54f7..484d39f 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -8,11 +8,6 @@ case_length_bottom = 151.5000;
wall_width = 2.5000;
wall_height = 17.2500;
-accent_width = 1.0000;
-accent_depth = 0.5;
-accent_y_stride = 19.0500;
-accent_y_bottom = 12.0000;
-
key_switch_width = 19.0500;
key_switch_length = 19.0500;
keyboard_width = key_switch_width * 13.5;
@@ -20,6 +15,11 @@ keyboard_length = key_switch_length * 5.0;
keyboard_x_offset = 12.2500;
keyboard_y_offset = 12.2500;
+accent_width = 1.0000;
+accent_depth = 0.5;
+accent_y_stride = 19.0500;
+accent_y_bottom = keyboard_y_offset;
+
fin_width = 2.0000;
fin_gap_width = 2.0000;
fin_gap_length = 2.0000;
@@ -41,11 +41,23 @@ module fin_gaps() {
for (i = [0:fin_gap_count]) {
x = fin_gap_x_first + (i * (fin_width + fin_gap_width));
- translate([x, fin_gap_y_offset, 0])
- square([fin_gap_width, fin_gap_length], false);
+ translate([x, fin_gap_y_offset, wall_height - fin_gap_height])
+ cube([fin_gap_width, fin_gap_length, fin_gap_height], false);
}
}
+module accents() {
+ for (y = [accent_y_bottom: accent_y_stride: case_length_bottom]) {
+ /* Top */
+ translate([0, y, wall_height - accent_depth])
+ cube([case_width_bottom, accent_width, accent_depth], false);
+
+ /* Left */
+ translate([0, y, 0])
+ cube([accent_depth, accent_width, wall_height], false);
+ }
+}
+
module top_case() {
translate([0, 0, wall_height - wall_width])
fascia();
@@ -53,4 +65,8 @@ module top_case() {
cube([wall_width, case_length_bottom, wall_height - wall_width], false);
}
-top_case(); \ No newline at end of file
+difference() {
+ top_case();
+ accents();
+ fin_gaps();
+} \ No newline at end of file