+module GpsPlug() {
+ plugwireh = plug2bot + plugwiremoreh;
+ GpsPlugPlug(-plugslop);
+ mirror([0,0,1]) translate([plug2lhs, plug2bot, 0]) {
+ cube([plugw, plugh, plugtotald-0.05]);
+ translate([0, -plugwireh, pluggapd])
+ cube([plugw, plugwireh+0.05, plugtotald-pluggapd]);
+ }
+}
+
+lhsteethu = 2;
+
+module GpsLHSMask(xslop=0){
+ translate([plug2lhs + plugw+plugh+plugstrutw,
+ 0,
+ -50]) {
+ for (iter=[-100/lhsteethu : 100/lhsteethu]) {
+ translate([0, iter*lhsteethu*2, 0]) {
+ linear_extrude(height=100) {
+ polygon([[-300, 0],
+ [ 0, 0],
+ [lhsteethu,lhsteethu],
+ [ 0, lhsteethu*2],
+ [-300, lhsteethu*2+0.1]]);
+ }
+ }
+ }
+ }
+}
+
+module GpsAssembled(){ ////toplevel
+ GpsBody();
+ GpsPlug();
+}
+
+module GpsBodyLT(){
+ intersection(){
+ GpsBody();
+ GpsLHSMask();
+ }
+}
+
+module GpsBodyRT(){
+ difference(){
+ GpsBody();
+ GpsLHSMask(bodylhsrhsslop);
+ }
+}
+
+module GpsPlugT(){ ////toplevel
+ rotate([0,-90,0]) GpsPlug();
+}
+
+//GpsPlugT();
+//GpsAssembled();
+//GpsLHSMask();
+//GpsBodyLT();
+//GpsBodyRT();