Ver código fonte

Adjust shell size and back camera position after another print

master
Dejvino 3 anos atrás
pai
commit
fd03cb0b30
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      main.scad

+ 2
- 2
main.scad Ver arquivo

@@ -27,7 +27,7 @@ function is_export() = !is_not_export();
function is_model_strict(m) = is_export() && export == m; function is_model_strict(m) = is_export() && export == m;
function is_model(m) = is_not_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); 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; backplane_pip_slideout=10;
@@ -240,7 +240,7 @@ module phone_harness() {
// -- BOTTOM -- // -- BOTTOM --
module back_camera_cutout() { module back_camera_cutout() {
s=[13, 25, expose_back_camera ? 100 : 11]; 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() { module bottom_speaker_cutout() {
s=[8, 49, 100]; s=[8, 49, 100];


Carregando…
Cancelar
Salvar