From f62b2699fe6b9c167a33dcc957b47170fe0ad21c Mon Sep 17 00:00:00 2001 From: Joel Ebel Date: Wed, 23 May 2018 22:36:28 -0400 Subject: [PATCH] Parametrize tab thickness separate from box. --- files/U_Box_V104_Test_Cleaned.scad | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/U_Box_V104_Test_Cleaned.scad b/files/U_Box_V104_Test_Cleaned.scad index 2ec6787..34565f4 100644 --- a/files/U_Box_V104_Test_Cleaned.scad +++ b/files/U_Box_V104_Test_Cleaned.scad @@ -55,6 +55,8 @@ Vent_width = 1.5; /* [Box Fixation Tabs] */ // - Side screw hole diameter ScrewHole = 2.2606; +// Thickness of fixation tabs +TabThick = 2; // Back left tab BLTab = 1; // [0:Bottom, 1:Top] // Back right tab @@ -291,7 +293,7 @@ module tab() { translate([0, Thick, Height/2]) { rotate([90, 0, 180]) { difference() { - linear_extrude(Thick) { + linear_extrude(TabThick) { difference() { circle(r=4*ScrewHole, $fn=6); translate([0, ScrewHole*2, 0]) { @@ -299,7 +301,7 @@ module tab() { } } } - translate([-4*ScrewHole, -ScrewHole, Thick]) { + translate([-4*ScrewHole, -ScrewHole, TabThick]) { rotate([90+45, 0, 0]) { cube([8*ScrewHole, 3*ScrewHole, 5*ScrewHole]); }