summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--case/top.scad8
1 files changed, 5 insertions, 3 deletions
diff --git a/case/top.scad b/case/top.scad
index 2d92679..9f95d75 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -43,6 +43,8 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
vent_x_first = keyboard_x_offset + keyboard_width - vent_count * (vent_width + vent_width);
vent_y_offset = case_length_bottom - vent_length;
+ support_width = 2.0000;
+
module fascia() {
linear_extrude(wall_width)
difference() {
@@ -142,7 +144,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
/* Left */
cube([wall_width, case_length_bottom, wall_height - wall_width], false);
- support_x_interval = (keyboard_width + wall_width + 1.25) / 6;
+ support_x_interval = (keyboard_width + 2 * wall_width - support_width) / 6;
support_x_offset = keyboard_x_offset - wall_width;
/* Upper vertical supports */
@@ -164,12 +166,12 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
translate([support_x_offset + x,
upper_support_y_offset,
wall_height - wall_width])
- support([upper_support_length, keyboard_switch_height], 1.25);
+ support([upper_support_length, keyboard_switch_height], support_width);
translate([support_x_offset + x,
lower_support_y_offset,
wall_height - wall_width])
- support([lower_support_length, keyboard_switch_height], 1.25);
+ support([lower_support_length, keyboard_switch_height], support_width);
}
}