- difference(){
- union(){
- for (mirx=[0,1]) for (miry=[0,1])
- mirror([mirx,0,0]) mirror([0,miry,0]) corner();
- for (angle=[0,90,180]) {
- rotate([0,0,angle]) halfside();
- rotate([0,0,angle]) mirror([1,0,0]) halfside();
- }
- }
- multmatrix([[ -1, 0, 0, -mw2 - botleftstand ],
- [ 0, 1, 0, -100 ],
- [ 1, 0, 1, -100 + botleftgap ],
- [ 0, 0, 0, 1 ] ])
- cube([100,200,100]);
- }
- translate([0,-5.0,totalheight]) {
- rotate([-90,0,0])
- DoveClipPair(h=10.1);
- }
+ difference(){
+ union(){
+ for (mirx=[0,1]) for (miry=[0,1])
+ mirror([mirx,0,0]) mirror([0,miry,0]) corner();
+ for (angle=[0,90,180]) {
+ rotate([0,0,angle]) halfside();
+ rotate([0,0,angle]) mirror([1,0,0]) halfside();
+ }
+ }
+// multmatrix([[ -1, 0, 0, -mw2 - botleftstand ],
+// [ 0, 1, 0, -100 ],
+// [ 1, 0, 1, -100 + botleftgap ],
+// [ 0, 0, 0, 1 ] ])
+// cube([100,200,100]);
+ }
+ translate([clippairy/2,0,totalheight]) {
+ difference(){
+ translate([-clippairy+topgluecubedy/2,-topgluecubex/2,0])
+ cube([clippairy-topgluecubedy,topgluecubex,topgluecubez]);
+ }
+ translate([0,0,topgluecubez+clippairdz+DoveClip_depth()]) rotate([0,-90,0])
+// DoveClipPair(h=clippairy);
+ DoveClipPairSane(h=clippairy, count=3);
+ }
+}
+
+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]);
+}
+
+translate([60,-90,0]) {
+ DoveClipPairSane(h=clippairy, count=3);
+ mirror([1,0,0]) translate([DoveClip_depth()-0.1,0,0]) cube([20,8,6]);