summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();