chiark / gitweb /
bike-lipo-box: add a difference()/union() (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:28:34 +0000 (00:28 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:28:34 +0000 (00:28 +0000)
bike-lipo-box.scad

index 337e788..ba55fb3 100644 (file)
@@ -229,11 +229,16 @@ module BoxPrint(){ ////toplevel
 
 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 ]);
+    }
+  }
 }
 
 module LidPrint(){ ////toplevel