chiark / gitweb /
fairphone-case: introduce TestSelectRearAperture (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 17:27:16 +0000 (17:27 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 17:27:16 +0000 (17:27 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 9ae36f0..20b809b 100644 (file)
@@ -481,14 +481,19 @@ module TestSelectCamera(){
               camera_pos_br + bumper + [ 2, 2 ]);
 }
 
-module TestSelectRearSpeaker(){
+module TestSelectRearAperture(){
   minkowski(){
-    RearSpeakerAperture();
+    union() children();
     translate([20, 0,0])
       cube([42, 2, 1], center=true);
   }
 }
 
+module TestSelectRearSpeaker(){
+  TestSelectRearAperture()
+    RearSpeakerAperture();
+}
+
 module TestCamera(){ ////toplevel
   intersection(){
     Case();