From ee06ae635bee088c850b1433af473af650fd201b Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 17 Nov 2023 17:09:14 -0500 Subject: Make sure upper wall has appropriate lip --- case/dimensions.scad | 6 ++++-- case/top.scad | 13 ++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/case/dimensions.scad b/case/dimensions.scad index e9d4e77..1e1ace9 100644 --- a/case/dimensions.scad +++ b/case/dimensions.scad @@ -1,5 +1,7 @@ -wall_width = 2.5000; -wall_height = 17.2500; +wall_width = 2.5000; +wall_width_upper = 1.5000; +wall_lip_upper = 3.0000; +wall_height = 17.2500; case_width_top = 317.5000; case_width_bottom = 319.0000; diff --git a/case/top.scad b/case/top.scad index 18f51ef..3a554b8 100644 --- a/case/top.scad +++ b/case/top.scad @@ -181,7 +181,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) { support([left_support_length + 2*eps, support_height], support_width); } } - + module logotype() { module logotype_text(size) { size_ratio = 1/5; @@ -193,7 +193,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) { } size = 10; - + translate([keyboard_x_offset, keyboard_y_offset + keyboard_pcb_length + keyboard_switch_length + accent_width, wall_height - accent_depth]) @@ -224,10 +224,13 @@ module top_case(key_switch_sizes, pcb_screw_holes) { module body() { translate([0, 0, wall_height - wall_width]) fascia(); - + /* Upper */ - translate([0, case_length_bottom - wall_width, 0]) - cube([case_width_bottom, wall_width, wall_height], false); + translate([wall_width, case_length_bottom - wall_width_upper, 0]) + cube([case_width_bottom - 2*wall_width, wall_width_upper, wall_lip_upper], false); + + translate([0, case_length_bottom - wall_width, wall_lip_upper]) + cube([case_width_bottom, wall_width, wall_height - wall_lip_upper], false); /* Right */ translate([case_width_bottom - wall_width, 0, 0]) -- cgit v1.2.3