From 51262f1b2115d61416587433d967e912e2177127 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 15 Nov 2023 11:26:23 -0500 Subject: Minor corrections to keyboard plate height --- case/top.scad | 10 +++++----- 1 file 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(); -- cgit v1.2.3