From 28f17db37ac936f49d54a8d722fda94eb56797fb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 15 Sep 2012 19:13:37 +0100 Subject: [PATCH] tower-base wip new attach --- tower-base.scad | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/tower-base.scad b/tower-base.scad index 378c84e..49c317b 100644 --- a/tower-base.scad +++ b/tower-base.scad @@ -1,15 +1,15 @@ /* -*- C -*- */ motorwidth=35.2; -motorheight=36.5; -totalheight=65; +motorheight=34.5; +totalheight=58; pillarthick=8; sidethick=2.5; archthick=6.5; frameextra=3.5; -framesplayx=1; -framesplayy=5; +framesplayx=5; +framesplayy=1; botleftgap=4.5; botleftstand=0.75; archoutwards=(pillarthick-archthick)/sqrt(8); @@ -29,7 +29,7 @@ module corner() { slopeheight= totalheight - frameheight; slopex = (mw2 + archoutwards - framesplayx)/slopeheight; slopey = (mw2 + archoutwards - framesplayy)/slopeheight; - //echo(sqrt(2)*slope); + echo(sqrt(slopex*slopex + slopey*slopey)); translate([-mw2,-mw2,0]) union(){ difference(){ @@ -82,7 +82,7 @@ module halfside() { [0, 0, panelbasez + sidethick/sqrt(2)]]) { translate(xz) translate([0,-sidethick,0]) - rotate([0,45,0]) + rotate([0,55,0]) translate([0,0,-sidethick]) cube([100, sidethick, sidethick]); } @@ -94,6 +94,12 @@ module halfside() { } module towerbase() { + topgluecubex=17; + topgluecubez=5; + clippairy=10; + clippairdz=-2.5; + topgluecubedy=1; + difference(){ union(){ for (mirx=[0,1]) for (miry=[0,1]) @@ -109,9 +115,13 @@ module towerbase() { [ 0, 0, 0, 1 ] ]) cube([100,200,100]); } - translate([0,-5.0,totalheight]) { - rotate([-90,0,0]) - DoveClipPair(h=10.1); + translate([clippairy/2,0,totalheight]) { + difference(){ + translate([-clippairy+topgluecubedy/2,-topgluecubex/2,0]) + cube([clippairy-topgluecubedy,topgluecubex,topgluecubez]); + } + translate([0,0,topgluecubez+clippairdz]) rotate([-90,0,90]) + DoveClipPair(h=clippairy); } } -- 2.30.2