From 0e6e3bfc0f92ef9045bf27048d12faa79dc736ec Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 19 Nov 2023 21:29:22 -0500 Subject: Initial commit of case/outline.scad --- case/outline.scad | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 case/outline.scad diff --git a/case/outline.scad b/case/outline.scad new file mode 100644 index 0000000..780c8d1 --- /dev/null +++ b/case/outline.scad @@ -0,0 +1,31 @@ +$fn = 72; + +include + +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 = top_case_screw_posts) { + 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); + } + } + } +} -- cgit v1.2.3