From 118fe703b5e49101b74e8eb513078cac4bd288e4 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Mon, 11 Jan 2021 14:04:19 +0100 Subject: [PATCH] Adjust headphone cutout to slope in. Adjust USB-C cutout Z by 1mm. --- main.scad | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main.scad b/main.scad index 64d1639..72c3d92 100644 --- a/main.scad +++ b/main.scad @@ -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() {