// OrdinaryRearAperture(1,1, rearspeaker_pos_bl)
// rectfromto(-rearspeaker_gap,
// rearspeaker_size + rearspeaker_gap);
-
- RearCameraAperture();
}
module NotInTestFrameRearApertures(){
}
module RearCameraAperture(){
- %Flip_rhs(1)
+ Flip_rhs(1)
mirror([0, 0, 1])
translate([0,0,0])
+ hull() // there is some kind of bug if hull() is done in 2D here!
linear_extrude(height = 20)
mirror([0, 1, 0])
translate(bumper)
translate(camera_pos_tl)
- hull(){
- for (xy = [ [0,0], [0,1], [1,0] ]) {
- translate(
- camera_edge_rad * [1,1] +
- xy * (camera_sz - camera_edge_rad * 2)
- )
- circle(r = camera_edge_rad);
- }
+ for (xy = [ [0,0], [0,1], [1,0] ]) {
+ translate(
+ camera_edge_rad * [1,1] +
+ xy * (camera_sz - camera_edge_rad * 2)
+ )
+ circle(r = camera_edge_rad);
}
}
}
// front camera
- // RearCameraAperture();
- // now in OrdinaryRearApertures
+ RearCameraAperture();
// struts (invisible, because they're buried in the case)
Struts(epp2i[0], epp2i[1] - case_th_bottom, case_th_bottom);