chiark / gitweb /
tower-base for head test
[reprap-play.git] / tower-base.scad
index 25263d9fa985b93b88ee9e7ad3daa69035625204..fbc9397ecead078d5314884d8aebc61baa02866d 100644 (file)
@@ -14,6 +14,12 @@ botleftgap=4.5;
 botleftstand=0.75;
 archoutwards=(pillarthick-archthick)/sqrt(8);
 
+topgluecubex=18;
+topgluecubez=5;
+clippairy=16;
+clippairdz=-2.5;
+topgluecubedy=1;
+
 dovebasecutcylz=4;
 dovebasecutcylr=10;
 
@@ -94,12 +100,6 @@ module halfside() {
 }
 
 module towerbase() {
-  topgluecubex=18;
-  topgluecubez=5;
-  clippairy=16;
-  clippairdz=-2.5;
-  topgluecubedy=1;
-
   difference(){
     union(){
       for (mirx=[0,1]) for (miry=[0,1])
@@ -126,7 +126,18 @@ module towerbase() {
   }
 }
 
-//intersection(){
-towerbase();
-//     translate([-100,-100,0]) cube([200,200,32]);
-//}
+intersection(){
+ translate([0,0,-50]) towerbase();
+ translate([-100,-100,0]) cube([200,200,32]);
+}
+
+intersection(){
+ translate([40,0,-60]) towerbase();
+ translate([-100,-100,0]) cube([200,200,32]);
+}
+
+for (x=[0,20,40]) {
+  translate([x,-50,0]) DoveClipPin(h=clippairy);
+  translate([x+10,-50,0]) DoveClipPin(h=clippairy/2);
+  translate([x+10,-30,0]) DoveClipPin(h=clippairy/2);
+}