chiark / gitweb /
sleepphone-cable-box: introduce wall_bot, nfc
[reprap-play.git] / anke-gps-bracket.scad
index 8d83e0a..084eefd 100644 (file)
@@ -80,9 +80,10 @@ holderdccount = 2;
 holderdoveclipl = 15;
 chassish = 13;
 chassist = 13;
-nestlefloorh = 1.7;
-nestleceilh = 2.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, -dist/2-nestleceilh],
+                [ca, -dist/2/nestlearchslope-nestleceilh],
                 [(ca+cb)/2, -nestleceilh],
-                [cb, -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);
       }