Browse Source

Fix buttons. Update STLs

master
Dejvino 3 years ago
parent
commit
bf2050ef08
4 changed files with 69915 additions and 14445 deletions
  1. +4
    -4
      main.scad
  2. +55302
    -0
      model_bottom.stl
  3. +1268
    -1100
      model_buttons.stl
  4. +13341
    -13341
      model_top.stl

+ 4
- 4
main.scad View File

@@ -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
- 0
model_bottom.stl
File diff suppressed because it is too large
View File


+ 1268
- 1100
model_buttons.stl
File diff suppressed because it is too large
View File


+ 13341
- 13341
model_top.stl
File diff suppressed because it is too large
View File


Loading…
Cancel
Save