From fd03cb0b30242510f1851d251f43955198d1d08a Mon Sep 17 00:00:00 2001 From: Dejvino Date: Fri, 15 Jan 2021 12:49:41 +0100 Subject: [PATCH] Adjust shell size and back camera position after another print --- main.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.scad b/main.scad index 1ab9e44..bd66a22 100644 --- a/main.scad +++ b/main.scad @@ -27,7 +27,7 @@ function is_export() = !is_not_export(); function is_model_strict(m) = is_export() && export == m; function is_model(m) = is_not_export() || export == m; -function get_phone_size() = [160, 76.7, 10]; +function get_phone_size() = [161.2, 77.2, 10]; function use_slideout_backplane() = is_model_strict(MODEL_HARNESS_BOTTOM_PIP) || is_model_strict(MODEL_HARNESS_LEFT) || is_model_strict(MODEL_HARNESS_RIGHT); backplane_pip_slideout=10; @@ -240,7 +240,7 @@ module phone_harness() { // -- BOTTOM -- module back_camera_cutout() { s=[13, 25, expose_back_camera ? 100 : 11]; - right(ps.x/2 - 7.5) fwd(ps.y/2 - 23) down(s.z/2 - ps.z/3) cubi(s, fillet=6, edges=EDGES_Z_ALL); + right(ps.x/2 - 7.5) fwd(ps.y/2 - 24.5) down(s.z/2 - ps.z/3) cubi(s, fillet=6, edges=EDGES_Z_ALL); } module bottom_speaker_cutout() { s=[8, 49, 100];