rearspeaker_size + rearspeaker_gap);
}
+module RearCameraAperture(){
+ CaseBase_rhsflip([1])
+ mirror([0, 0, 1])
+ linear_extrude(height = 20)
+ mirror([0, 1, 0])
+ translate(bumper)
+ rectfromto(camera_pos_tl, camera_pos_br);
+}
+
module CaseBase(){
AroundEdges(epp3[1], case_th_bottom, 1)
EdgeProfile();
}
// front camera
- CaseBase_rhsflip([1])
- mirror([0, 0, 1])
- linear_extrude(height = 20)
- mirror([0, 1, 0])
- translate(bumper)
- rectfromto(camera_pos_tl, camera_pos_br);
+ RearCameraAperture();
// struts (invisible, because they're buried in the case)
Struts(epp2i[0], epp2i[1] - case_th_bottom, case_th_bottom);
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();