3 include <camera-mount.scad>
6 tr_cube_sz = [20, 20, 15];
10 translate([0, - tr_cube_sz[1], 0])
12 translate([0, tr_cube_sz[1]/2 - tr_cube_offset/2, tr_cube_sz[2]/2])
13 cube(tr_cube_sz + [0, tr_cube_offset, 0], center=true);
14 translate([0, tr_cube_sz[1]/2 - tr_cube_offset, 0])
16 render() CameraMountThread(tr_cube_sz[2] + 1);
20 module CaseMounted(){ ////toplevel
23 translate([ phone_width/2, -phone_height/2 ])
25 square([phone_width, phone_height] - tr_around * 2 * [1,1],
28 translate([ phone_width,
29 -phone_height + tr_cube_sz[0] * 0.7,
30 epp3[1] - case_th_bottom ])
36 include <fairphone4-case.scad>
37 $suppress_hinge = true;