// -*- C -*-
+// todo
+// nestlecube does not fit
+// nestlecube doveclip at wrong angle
+
include <doveclip.scad>
// Dimensions of the main GPS body
holderbackt = 2.8;
holderdccount = 2;
holderdoveclipl = 15;
+chassish = 13;
+chassist = 13;
// Consequential values
holderdcw = DoveClipPairSane_width(holderdccount);
mirror([0,1,0]) HolderSideL();
}
+module ChassisBar(){ ////toplevel
+ dist = holder_outerw - 2*(bezelw - holderbezelmore - DoveClip_depth());
+ cliph = holderdcw;
+ for (mir=[0,1]) {
+ mirror([mir,0,0]) {
+ translate([dist/2, cliph/2, 0])
+ DoveClipPairSane(h=holderdoveclipl, count=holderdccount);
+ translate([-1, 0, 0])
+ cube([dist/2 - DoveClip_depth() + 1.1, chassish, chassist]);
+ }
+ }
+ translate([0, -DoveClip_depth(), 0])
+ rotate([0,0,-90])
+ DoveClipPairSane(h=nestledoveclipw, count=3,
+ baseextend=chassist/2);
+}
+
+module HolderSidePin(){ ////toplevel
+ DoveClipPin(holderdoveclipl*0.5);
+}
+
+module Pins(){ ///toplevel
+ for (i=[1:4*holderdccount]) {
+ translate([i*10, 0, 0]) HolderSidePin();
+ }
+ for (i=[1:6]) {
+ translate([i*10, 20, 0]) NestleCubePin();
+ }
+}
+
//GpsPlugT();
//GpsAssembled();
//GpsBody();
//NestleCubePin();
//HolderSideL();
//HolderSideR();
+//HolderSidePin();
+//ChassisBar();
+//Pins();