Don't need all that

This commit is contained in:
XANTRONIX 2023-11-26 01:03:41 -05:00
parent 402fbe32bd
commit 3758199423

View file

@ -238,31 +238,24 @@ module top_case(with_keyboard=false, as_flat=false) {
} }
module flat() { module flat() {
translate([case_length_bottom, 0, 0]) square([wall_width, case_length_bottom], false);
rotate([0, 0, 90]) square([case_width_bottom, wall_width], false);
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]) translate([case_width_bottom - wall_width, 0, 0])
square([wall_width, case_length_bottom], false); square([wall_width, case_length_bottom], false);
translate([0, case_length_bottom - wall_width, 0]) translate([0, case_length_bottom - wall_width, 0])
square([case_width_bottom, wall_width], false); square([case_width_bottom, wall_width], false);
for (screw_post = screw_posts_top_case) { for (screw_post = screw_posts_top_case) {
x = screw_post[0]; x = screw_post[0];
y = screw_post[1]; y = screw_post[1];
translate([x, y, 0]) translate([x, y, 0])
difference() { difference() {
circle(d=screw_post_diameter_outer); circle(d=screw_post_diameter_outer);
circle(d=screw_post_diameter_inner); circle(d=screw_post_diameter_inner);
}
}
} }
} }
} }