Fix buttons. Update STLs
This commit is contained in:
parent
4f94f1d14c
commit
bf2050ef08
@ -21,14 +21,14 @@ MODEL_HARNESS_TOP=5;
|
||||
MODEL_HARNESS_SLIDER_FRONT=6;
|
||||
MODEL_HARNESS_SLIDER_BACK=7;
|
||||
MODEL_HARNESS_BUTTONS=8;
|
||||
export=3; // [0:8]
|
||||
export=0; // [0:8]
|
||||
function is_not_export() = is_undef(export) || export == 0;
|
||||
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 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;
|
||||
|
||||
@ -311,7 +311,7 @@ module phone_harness() {
|
||||
left(bs.x/2) {
|
||||
difference() {
|
||||
cubi(bs);
|
||||
back(2) cubi(cs);
|
||||
back(1) cubi(cs);
|
||||
}
|
||||
}
|
||||
fwd(1) left(bs.x*0.8) cubi(touch_power_size, fillet=1);
|
||||
@ -321,7 +321,7 @@ module phone_harness() {
|
||||
cubi(pin_size);
|
||||
difference() {
|
||||
cubi(bs);
|
||||
back(2) {
|
||||
back(1) {
|
||||
left(bs.x/4) cubi(cs);
|
||||
right(bs.x/4) cubi(cs);
|
||||
}
|
||||
|
55302
model_bottom.stl
Normal file
55302
model_bottom.stl
Normal file
File diff suppressed because it is too large
Load Diff
4500
model_buttons.stl
4500
model_buttons.stl
File diff suppressed because it is too large
Load Diff
39252
model_top.stl
39252
model_top.stl
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user