From: Ian Jackson Date: Sun, 21 Jan 2018 21:05:15 +0000 (+0000) Subject: fairphone-case: introduce MicroUSB X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7b2c00351cd2bc45829f5b9d80288fc83fa1f786;p=reprap-play.git fairphone-case: introduce MicroUSB Signed-off-by: Ian Jackson --- diff --git a/fairphone-case.scad b/fairphone-case.scad index b0ec769..39ad7c0 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -31,6 +31,10 @@ fingerpushhole_dias = [ 14, 17 ]; rearspeaker_pos_bl = [ 12.64, 18.72 ]; rearspeaker_size = [ 3.76, 7.36 ]; +microusb_above = 4.48 + 0.50; +microusb_below = 1.82 + 0.50; +microusb_width = 10.60 + 1.00; + case_th_bottom = 2.5; case_th_lid = 2.5; case_th_side = 2; @@ -381,6 +385,17 @@ module OrdinaryRearAperture(rhs,bot, pos){ children(); } +module MicroUSB(){ + Flip_bot(1){ + rotate([90,0,0]) + mirror([0,0,1]) + linextr(-epp2i[0], 60) + translate([0.5 * phone_width, 0, 0]) + rectfromto([-microusb_width/2, epp2i[1] + microusb_below], + [+microusb_width/2, epp0[1] + -microusb_above]); + } +} + module OrdinaryRearApertures(){ // rear speaker OrdinaryRearAperture(1,1, rearspeaker_pos_bl) @@ -522,6 +537,8 @@ module Case(){ ////toplevel OrdinaryRearApertures(); + MicroUSB(); + // gaps for the lid's hinge arms HingePortion(hex20 - hinge_x_arms_gap, hex21 + hinge_x_arms_gap)