Fix back camera position after first print

This commit is contained in:
Dejvino 2020-12-31 17:53:45 +01:00
parent c4c9e0b263
commit 31cb4852ac

View File

@ -12,7 +12,7 @@ use <BOSL/masks.scad>
MODEL_HARNESS_LEFT=1; MODEL_HARNESS_LEFT=1;
MODEL_HARNESS_RIGHT=2; MODEL_HARNESS_RIGHT=2;
MODEL_HARNESS_TOP=3; MODEL_HARNESS_TOP=3;
export=0; // [0:5] export=2; // [0:5]
function is_not_export() = is_undef(export) || export == 0; function is_not_export() = is_undef(export) || export == 0;
function is_export() = !is_not_export(); function is_export() = !is_not_export();
function is_model_strict(m) = is_export() && export == m; function is_model_strict(m) = is_export() && export == m;
@ -106,7 +106,7 @@ module phone_harness() {
module back_camera_cutout() { module back_camera_cutout() {
s=[13, 25, 10]; 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() { module bottom_cutout() {
back_camera_cutout(); back_camera_cutout();