summaryrefslogtreecommitdiffstats
path: root/case
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-15 11:26:23 -0500
committerXANTRONIX Development2023-11-15 11:26:23 -0500
commit51262f1b2115d61416587433d967e912e2177127 (patch)
tree4623e4b1329e79500db586596dcb615c1c09b643 /case
parentf779b234b7ae9ad2c5879b955a934401eee4ecac (diff)
downloadxantronix-z32-51262f1b2115d61416587433d967e912e2177127.tar.gz
xantronix-z32-51262f1b2115d61416587433d967e912e2177127.tar.bz2
xantronix-z32-51262f1b2115d61416587433d967e912e2177127.zip
Minor corrections to keyboard plate height
Diffstat (limited to 'case')
-rw-r--r--case/top.scad10
1 files changed, 5 insertions, 5 deletions
diff --git a/case/top.scad b/case/top.scad
index df879ce..a64e49d 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -164,19 +164,19 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
module walls() {
/* Upper */
translate([-wall_width, keyboard_length, 0])
- cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height - wall_width], false);
+ cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height], false);
/* Right */
translate([keyboard_width, -wall_width, 0])
- cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height - wall_width], false);
+ cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height], false);
/* Lower */
translate([-wall_width, -wall_width, 0])
- cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height - wall_width], false);
+ cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height], false);
/* Left */
translate([-wall_width, -wall_width, 0])
- cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height - wall_width], false);
+ cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height], false);
}
module body() {
@@ -215,7 +215,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
fin_gaps();
}
- keyboard_deck_z_offset = wall_height - key_switch_height;
+ keyboard_deck_z_offset = wall_height - wall_width - key_switch_height;
translate([keyboard_x_offset, keyboard_y_offset, keyboard_deck_z_offset])
keyboard_deck();