summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-26 01:03:41 -0500
committerXANTRONIX Development2023-11-26 01:03:41 -0500
commit375819942314ac31ce5514320d690e2cd1dca4d5 (patch)
treec81512a591c996e1e8867ee303048dd3e533c368
parent402fbe32bd7b113421e6ad69bfce4a2069c213ba (diff)
downloadxantronix-z32-375819942314ac31ce5514320d690e2cd1dca4d5.tar.gz
xantronix-z32-375819942314ac31ce5514320d690e2cd1dca4d5.tar.bz2
xantronix-z32-375819942314ac31ce5514320d690e2cd1dca4d5.zip
Don't need all that
-rw-r--r--case/top.scad43
1 files changed, 18 insertions, 25 deletions
diff --git a/case/top.scad b/case/top.scad
index 1b77b9b..fd8527e 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -238,31 +238,24 @@ module top_case(with_keyboard=false, as_flat=false) {
}
module flat() {
- translate([case_length_bottom, 0, 0])
- rotate([0, 0, 90])
- intersection() {
- square([200, 200], false);
- union() {
- square([wall_width, case_length_bottom], false);
- square([case_width_bottom, wall_width], false);
-
- translate([case_width_bottom - wall_width, 0, 0])
- square([wall_width, case_length_bottom], false);
-
- translate([0, case_length_bottom - wall_width, 0])
- square([case_width_bottom, wall_width], false);
-
-
- for (screw_post = screw_posts_top_case) {
- x = screw_post[0];
- y = screw_post[1];
-
- translate([x, y, 0])
- difference() {
- circle(d=screw_post_diameter_outer);
- circle(d=screw_post_diameter_inner);
- }
- }
+ square([wall_width, case_length_bottom], false);
+ square([case_width_bottom, wall_width], false);
+
+ translate([case_width_bottom - wall_width, 0, 0])
+ square([wall_width, case_length_bottom], false);
+
+ translate([0, case_length_bottom - wall_width, 0])
+ square([case_width_bottom, wall_width], false);
+
+
+ for (screw_post = screw_posts_top_case) {
+ x = screw_post[0];
+ y = screw_post[1];
+
+ translate([x, y, 0])
+ difference() {
+ circle(d=screw_post_diameter_outer);
+ circle(d=screw_post_diameter_inner);
}
}
}