chiark / gitweb /
ksafe-base: toplevels
[reprap-play.git] / anke-gps-bracket.scad
index 4c9860e..084eefd 100644 (file)
@@ -41,14 +41,14 @@ pluggapd =    5;
 nestleh = 53;
 nestlew = 60.9;
 //   depths (back to front distance):
-nestledl = 38.3 + 1.9;
-nestledr = 42.2 + 1.7;
+nestledl = 40.2;
+nestledr = 43.9;
 //   differences in width, depth, at bottom:
-nestledwl = nestlew - 50.0;
-nestledwr = nestlew - 58.5;
-nestleddf = nestledl - 36.2;
-nestleddbl = nestledl - 36.9;
-nestleddbr = nestledr - 36.9;
+nestledwl = 2.1;
+nestledwr = 1.4;
+nestleddf = 4.0;
+nestleddbl = 5.7;
+nestleddbr = 5.2;
 
 // Adjustment for the GPS attitude and position
 gpsazimuth = 45;
@@ -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);
       }