Fix buttons. Update STLs

This commit is contained in:
Dejvino 2021-01-12 16:54:41 +01:00
parent 4f94f1d14c
commit bf2050ef08
4 changed files with 77266 additions and 21796 deletions

View File

@ -21,14 +21,14 @@ MODEL_HARNESS_TOP=5;
MODEL_HARNESS_SLIDER_FRONT=6; MODEL_HARNESS_SLIDER_FRONT=6;
MODEL_HARNESS_SLIDER_BACK=7; MODEL_HARNESS_SLIDER_BACK=7;
MODEL_HARNESS_BUTTONS=8; MODEL_HARNESS_BUTTONS=8;
export=3; // [0:8] export=0; // [0:8]
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;
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() = [160, 76.7, 10];
function use_slideout_backplane() = !is_model_strict(MODEL_HARNESS_BOTTOM_PIP); 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;
@ -311,7 +311,7 @@ module phone_harness() {
left(bs.x/2) { left(bs.x/2) {
difference() { difference() {
cubi(bs); cubi(bs);
back(2) cubi(cs); back(1) cubi(cs);
} }
} }
fwd(1) left(bs.x*0.8) cubi(touch_power_size, fillet=1); fwd(1) left(bs.x*0.8) cubi(touch_power_size, fillet=1);
@ -321,7 +321,7 @@ module phone_harness() {
cubi(pin_size); cubi(pin_size);
difference() { difference() {
cubi(bs); cubi(bs);
back(2) { back(1) {
left(bs.x/4) cubi(cs); left(bs.x/4) cubi(cs);
right(bs.x/4) cubi(cs); right(bs.x/4) cubi(cs);
} }

55302
model_bottom.stl Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff