From: Ian Jackson Date: Sat, 6 Jun 2020 12:08:30 +0000 (+0100) Subject: fairphone-case-mounted: Initial cut of plumbing X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b4ef1ca5588a40b0308eada87c4b9f94f382b756;p=reprap-play.git fairphone-case-mounted: Initial cut of plumbing Signed-off-by: Ian Jackson --- diff --git a/bike-phone-mount.scad b/bike-phone-mount.scad index b8d4fc1..bb69726 100644 --- a/bike-phone-mount.scad +++ b/bike-phone-mount.scad @@ -89,7 +89,7 @@ module Mount(){ } } -module MountDemo(){ +module MountDemo(){ ////toplevel Mount(); MountDemoCeil(); } @@ -98,4 +98,4 @@ module MountDemo(){ //MountNeck(); //MountDemoCeil(); //MountDiagonal(); -MountDemo(); +//MountDemo(); diff --git a/fairphone-case-mounted.scad b/fairphone-case-mounted.scad new file mode 100644 index 0000000..000541f --- /dev/null +++ b/fairphone-case-mounted.scad @@ -0,0 +1,13 @@ +// -*- C -*- + +include + +module CaseMounted(){ ////toplevel + Case(); + translate([ phone_width/2, phone_height/2, -10 ]) + Mount(); +} + +//// toplevels-from: +include +$suppress_forward_holes = true; diff --git a/fairphone-case.scad b/fairphone-case.scad index c2f13c7..2998b54 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -272,6 +272,8 @@ prop_prong_heel_slope = 0.5; lid_fold_clearance_antislop = 0.5; $button_leg_only = false; +$suppress_forward_holes = false; + // ---------- calculated ---------- phone_width = (phone + bumper*2)[0]; @@ -1153,9 +1155,11 @@ module Case(){ ////toplevel } // apertures along top edge - CaseAperture(jack_pos, jack_dia, 8); - Flip_rhs(1) - CaseAperture(noisecancelmic_pos, noisecancelmic_dia, 8); + if (!$suppress_forward_holes) { + CaseAperture(jack_pos, jack_dia, 8); + Flip_rhs(1) + CaseAperture(noisecancelmic_pos, noisecancelmic_dia, 8); + } OrdinaryRearApertures();