Make sure upper wall has appropriate lip

This commit is contained in:
XANTRONIX 2023-11-17 17:09:14 -05:00
parent 531dc6e201
commit ee06ae635b
2 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,6 @@
wall_width = 2.5000; wall_width = 2.5000;
wall_width_upper = 1.5000;
wall_lip_upper = 3.0000;
wall_height = 17.2500; wall_height = 17.2500;
case_width_top = 317.5000; case_width_top = 317.5000;

View file

@ -226,8 +226,11 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
fascia(); fascia();
/* Upper */ /* Upper */
translate([0, case_length_bottom - wall_width, 0]) translate([wall_width, case_length_bottom - wall_width_upper, 0])
cube([case_width_bottom, wall_width, wall_height], false); 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 */ /* Right */
translate([case_width_bottom - wall_width, 0, 0]) translate([case_width_bottom - wall_width, 0, 0])