chiark / gitweb /
anke-gps-bracket: ChassisBar: allow adjust of x pos
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Dec 2012 15:36:25 +0000 (15:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Dec 2012 15:36:25 +0000 (15:36 +0000)
anke-gps-bracket.scad

index 3d5251d..6b823d2 100644 (file)
@@ -57,11 +57,12 @@ nestleddbr = 3.6;
 nestlewallmin = 4;
 nestleceilmin = 4;
 
-// Adjustment for the GPS attitude
+// Adjustment for the GPS attitude and position
 gpsazimuth = 45;
 gpselevation = 40;
 gpsrightwardoffset = 5;
 gpsrearwardoffset = 2;
+gpsrightwardoffsetonbar = 0;
 
 // Amount of wire protrusion to allow for
 plugwiremoreh = 25;
@@ -298,7 +299,7 @@ module ChassisBar(){ ////toplevel
        cube([dist/2 - DoveClip_depth() + 1.1, chassish, chassist]);
     }
   }
-  translate([0, -DoveClip_depth(), 0])
+  translate([gpsrightwardoffsetonbar, -DoveClip_depth(), 0])
     rotate([0,0,-90])
     DoveClipPairSane(h=nestledoveclipw, count=3,
                     baseextend=chassist/2);