From: Ian Jackson Date: Thu, 15 Mar 2018 12:12:43 +0000 (+0000) Subject: fairphone-case: for revert: LidEdgeFoldClearanceProfile X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7c8e5269fcdeb704dbf43f31cbd60319129df6e2;p=reprap-play.git fairphone-case: for revert: LidEdgeFoldClearanceProfile This is no good; it needs to be an intersection, not a difference, because AroundEdges fills in the middle which we do not want. Signed-off-by: Ian Jackson --- diff --git a/fairphone-case.scad b/fairphone-case.scad index d3eafb3..41bad57 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -521,6 +521,14 @@ module LidEdgeProfile(){ } } +module LidEdgeFoldClearanceProfile(){ + polygon([ lpp10 + [0, -10], + lpp11, + lpp11 + [20, 0], + lpp10 + [20, -10] + ]); +} + module ButtonCoverProfile(){ intersection(){ polygon(concat([ bppM, bppP, bppO, bppJ ], @@ -1090,6 +1098,15 @@ module Lid(){ ////toplevel } Struts(lpp10[0] + strut_min_at_end, lpp13[1], -case_th_lid); + translate(skew_centre) + multmatrix([[ 1, 0, 0, 0 ], + [ 0, 1, 2, 0 ], + [ 0, 0, 1, 0 ], + [ 0, 0, 0, 1 ]]) + translate(-skew_centre) + LidAroundEdges() + LidEdgeFoldClearanceProfile(); + // screw holes in the hinge arms HingeScrews();