chiark / gitweb /
bike-lipo-box: Lid and Demo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:19:20 +0000 (00:19 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:19:20 +0000 (00:19 +0000)
bike-lipo-box.scad

index 0e204c2c77e8ce6e4cb2b6ca6cd4475486be24ba..d16c62b9072733f04b9566bd957ea7a7d37e434b 100644 (file)
@@ -32,6 +32,7 @@ strap_pillard = 5;
 strap_over = 2;
 
 straps_at_box = [45, 95, 125, 160];
+straps_every = 30;
 
 // calculated
 
@@ -226,6 +227,20 @@ module BoxPrint(){ ////toplevel
     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 ]);
+}
+
+module Demo(){ ////toplevel
+  color("blue") Box();
+  color("red") Lid();
+}
+
 //TestWall();
 //ProfileDemos();
 //TestSealBox();