From 7c8e5269fcdeb704dbf43f31cbd60319129df6e2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 15 Mar 2018 12:12:43 +0000 Subject: [PATCH] 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 --- fairphone-case.scad | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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(); -- 2.30.2