Browse Source

Adjust shell size and back camera position after another print

master
Dejvino 3 years ago
parent
commit
fd03cb0b30
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      main.scad

+ 2
- 2
main.scad View File

@@ -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];


Loading…
Cancel
Save