|
|
@@ -12,7 +12,7 @@ use <BOSL/masks.scad> |
|
|
|
MODEL_HARNESS_LEFT=1; |
|
|
|
MODEL_HARNESS_RIGHT=2; |
|
|
|
MODEL_HARNESS_TOP=3; |
|
|
|
export=0; // [0:5] |
|
|
|
export=2; // [0:5] |
|
|
|
function is_not_export() = is_undef(export) || export == 0; |
|
|
|
function is_export() = !is_not_export(); |
|
|
|
function is_model_strict(m) = is_export() && export == m; |
|
|
@@ -106,7 +106,7 @@ module phone_harness() { |
|
|
|
|
|
|
|
module back_camera_cutout() { |
|
|
|
s=[13, 25, 10]; |
|
|
|
right(ps.x/2 - 8) fwd(ps.y/2 - 24) down(ps.z/2) cuboid(s, fillet=6, edges=EDGES_Z_ALL); |
|
|
|
right(ps.x/2 - 8) fwd(ps.y/2 - 23) down(ps.z/2) cuboid(s, fillet=6, edges=EDGES_Z_ALL); |
|
|
|
} |
|
|
|
module bottom_cutout() { |
|
|
|
back_camera_cutout(); |
|
|
|