chiark / gitweb /
bike-lipo-box: adjustments from #1306: overall thinner
[reprap-play.git] / bike-lipo-box.scad
index 271e514..7883462 100644 (file)
@@ -19,7 +19,7 @@ s1930_behind = 3;
 
 totx_inner = 180;
 toty_outer = 95;
-totz_inner = 28.0;
+totz_inner = 27.0;
 
 wallthick = 2.5;
 
@@ -223,21 +223,30 @@ module Box(){ ////toplevel
 }
 
 module BoxPrint(){ ////toplevel
-  rotate([-90,0,0])
+  rotate([-90,0,-90])
     Box();
 }
 
 module Lid(){ ////toplevel
   $sealingbox_sz = sb_box_sz;
-  AtSealingBox()
-    SealingBox_RectLid();
-  translate([0, -wallthick, -SealingBox_lidbigger()])
-    mirror([0,0,1])
-    StrapKeepers([ straps_every : straps_every : totx_inner-straps_every ]);
+  difference(){
+    union(){
+      AtSealingBox()
+       SealingBox_RectLid();
+      translate([0, -wallthick, -SealingBox_lidbigger()])
+       mirror([0,0,1])
+       StrapKeepers([ straps_every : straps_every
+                      : totx_inner-straps_every ]);
+    }
+
+    translate($sealingbox_cnrrad * [1,0,1])
+      rotate([90,0,0])
+      Commitid_Full16_M();
+  }
 }
 
 module LidPrint(){ ////toplevel
-  rotate([90,0,0])
+  rotate([90,0,-90])
     Lid();
 }