Browse Source

Adjust headphone cutout to slope in. Adjust USB-C cutout Z by 1mm.

master
Dejvino 3 years ago
parent
commit
118fe703b5
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      main.scad

+ 6
- 5
main.scad View File

@@ -15,7 +15,7 @@ MODEL_HARNESS_RIGHT=2;
MODEL_HARNESS_TOP=3;
MODEL_HARNESS_SLIDER_FRONT=4;
MODEL_HARNESS_SLIDER_BACK=5;
export=0; // [0:5]
export=1; // [0:5]
function is_not_export() = is_undef(export) || export == 0;
function is_export() = !is_not_export();
function is_model_strict(m) = is_export() && export == m;
@@ -207,10 +207,11 @@ module phone_harness() {
// -- RIGHT --
module headphones_cutout() {
$fn = $preview ? 10 : 30;
d=8.8;
d1=8.8;
d2=14;
p=[ps.x/2, ps.y/2-24, -0.88];
h=100;
translate(p) yrot(90) down(10) cylinder(h=h, d=d);
h=30;
translate(p) yrot(90) down(10) cylinder(h=h, d1=d1, d2=d2);
}
module right_cutout() {
headphones_cutout();
@@ -218,7 +219,7 @@ module phone_harness() {
// -- LEFT --
module usbc_cutout() {
s=[100, 20, 6];
s=[20, 20, 7];
left(ps.x/2) down(2) cubi(s, fillet=1);
}
module left_cutout() {


Loading…
Cancel
Save