chiark / gitweb /
belt-slot-cut-jig: holder ctie attach
[reprap-play.git] / anke-gps-bracket.scad
index 7075fbe45273c4b22a0650201f6322e1325234d1..084eefd2579d7f31311191fc115920c16c141b4c 100644 (file)
@@ -80,9 +80,10 @@ holderdccount = 2;
 holderdoveclipl = 15;
 chassish = 13;
 chassist = 13;
-nestlefloorh = 1.7;
-nestleceilh = 4.0;
-nestlewallmin = 3.0;
+nestlefloorh = 4.7;
+nestleceilh = 6.0;
+nestlewallmin = 10.0;
+nestlearchslope = 0.75 * sqrt(0.5);
 
 // Consequential values
 holderdcw = DoveClipPairSane_width(holderdccount);
@@ -195,9 +196,9 @@ module NestleCubeCutout(ca,cb,d){
       linear_extrude(height=d+2){
        polygon([[ca+nestlebevel, cuth],
                 [ca, cuth+nestlebevel*2],
-                [ca, -0*dist/2-nestleceilh],
+                [ca, -dist/2/nestlearchslope-nestleceilh],
                 [(ca+cb)/2, -nestleceilh],
-                [cb, -0*dist/2-nestleceilh],
+                [cb, -dist/2/nestlearchslope-nestleceilh],
                 [cb, cuth+nestlebevel*2],
                 [cb-nestlebevel, cuth]]);
       }
@@ -263,7 +264,7 @@ module NestleCube(){ ////toplevel
                    [4,3,2],[2,1,0],[0,4,2],
                    [12,13,14],[10,11,12],[12,14,10]],
         convexity=3);
-      intersection(){
+      union(){
        #NestleCubeCutout(cutw1, cutw0, max(nestledl,nestledr));
        #rotate([0,0,90]) NestleCubeCutout(cutd0, cutd1, nestlew);
       }