xantronix-z32/case/outline.scad

32 lines
811 B
OpenSCAD
Raw Normal View History

2023-11-26 00:29:03 -05:00
include <screws.scad>
2023-11-19 21:29:22 -05:00
$fn = 72;
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);
2023-11-26 00:29:03 -05:00
for (screw_post = screw_posts_top_case) {
2023-11-19 21:29:22 -05:00
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);
}
}
}
}