summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-16 17:15:15 -0500
committerXANTRONIX Development2023-11-16 17:15:15 -0500
commita5cf93b8d678ce3d5ecce1eab174f09dbe85b8d5 (patch)
treed98fa0416bc4155d99003ff77aee36904c4ae59e
parentf9dac16c783eb794c54990af2fd60c9c3611649f (diff)
downloadxantronix-z32-a5cf93b8d678ce3d5ecce1eab174f09dbe85b8d5.tar.gz
xantronix-z32-a5cf93b8d678ce3d5ecce1eab174f09dbe85b8d5.tar.bz2
xantronix-z32-a5cf93b8d678ce3d5ecce1eab174f09dbe85b8d5.zip
Might be good?
-rw-r--r--case/top.scad24
1 files changed, 12 insertions, 12 deletions
diff --git a/case/top.scad b/case/top.scad
index 3fcbd6a..44f4ba1 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -107,8 +107,8 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
];
for (post = posts) {
- translate([post[0], post[1], wall_height - wall_width - post[2]])
- screw_post(post[2]);
+ translate([post[0], post[1], wall_height - wall_width - post[2] - eps])
+ screw_post(post[2] + eps);
}
}
@@ -196,22 +196,22 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
for (x = [0: support_x_interval: keyboard_width + 2 * wall_width]) {
translate([support_x_offset + x,
- upper_support_y_offset,
+ upper_support_y_offset - eps,
wall_height - wall_width])
- support([upper_support_length, keyboard_switch_height], support_width);
+ support([upper_support_length + 2*eps, keyboard_switch_height], support_width);
translate([support_x_offset + x,
- lower_support_y_offset,
+ lower_support_y_offset - eps,
wall_height - wall_width])
- support([lower_support_length, keyboard_switch_height], support_width);
+ support([lower_support_length + 2*eps, keyboard_switch_height], support_width);
}
for (y = [0: support_y_interval: keyboard_length + 2 * wall_width]) {
- translate([right_support_x_offset,
+ translate([right_support_x_offset - eps,
support_y_offset + y - wall_width + support_width,
wall_height - wall_width])
rotate([0, 0, -90])
- support([right_support_length, keyboard_switch_height], support_width);
+ support([right_support_length + 2*eps, keyboard_switch_height], support_width);
translate([left_support_x_offset - eps,
support_y_offset + y - wall_width + support_width,
@@ -227,17 +227,17 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
/* Upper */
translate([0, case_length_bottom - wall_width, 0])
- cube([case_width_bottom, wall_width, wall_height - wall_width], false);
+ cube([case_width_bottom, wall_width, wall_height], false);
/* Right */
translate([case_width_bottom - wall_width, 0, 0])
- cube([wall_width, case_length_bottom, wall_height - wall_width], false);
+ cube([wall_width, case_length_bottom, wall_height], false);
/* Lower */
- cube([case_width_bottom, wall_width, wall_height - wall_width], false);
+ cube([case_width_bottom, wall_width, wall_height], false);
/* Left */
- cube([wall_width, case_length_bottom, wall_height - wall_width], false);
+ cube([wall_width, case_length_bottom, wall_height], false);
}
module screw_holes() {