X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=fairphone-case.scad;h=3aaf61702b3b0547087ea2621bcff736d073a9ac;hb=25b1f52d27b3054a252b827625a7ae63be77bda1;hp=e8eff5ae299ca2e8a1e5f2c8aefc06d2d13ea059;hpb=078e4b780d020687031215285f65dda3e3acccd0;p=reprap-play.git diff --git a/fairphone-case.scad b/fairphone-case.scad index e8eff5a..3aaf617 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -210,6 +210,7 @@ lid_gap_z = 0.25; lid_lip = 1.75; lid_edgepart_width = 5.0; lid_buttoncover_thick = 1.3; +lid_buttoncover_reinf = 1.0; catch_slop = 0.50; @@ -262,6 +263,7 @@ catch_depth = 1.25; catch_height = 0.35; catch_finger_height = 1.5; catch_finger_depth = 2.5; +catch_catch_slope = 0.25; catch_topcurve_r = 5.0; @@ -436,7 +438,7 @@ cppP = [ epp4[0], cppJ[1] ]; cppS = cppJ + [0,-1] * catch_len; cppD = [ cppA[0], cppS[1] + catch_slop ]; cppC = [ cppB[0], cppD[1] ]; -cppT = cppS + [1,0] * catch_depth; +cppT = cppS + [1, -catch_catch_slope] * catch_depth; cppU = cppT + [0,-1] * catch_height; cppV = [ cppS[0], cppU[1] - catch_depth ]; @@ -727,6 +729,22 @@ module ButtonPlan(l, deep, cut){ } } +module ButtonCoverReinf(){ ////toplevel + minkowski(){ + rotate([90,0,0]) + linear_extrude(height=0.01) + intersection(){ + ButtonCoverProfile(); + translate([bppJ[0] + 0.1, -50]) mirror([1,0]) + square([100,100]); + } + mirror([0,0,1]) linear_extrude(height=0.01) intersection(){ + circle(r= lid_buttoncover_reinf); + translate([-20,0]) square(40, center=true); + } + } +} + module CatchCatchProfile(){ hull(){ for (c=[ cppR, cppQ ]) @@ -1051,7 +1069,7 @@ module PropProfileAssignments(gamma){ children(); } -module PropProfile(gamma, cut=0, rot=0){ ////toplevel +module PropProfile(gamma, cut=0, rot=0){ PropProfileAssignments(gamma){ //#circleat($prpp3,1); @@ -1256,10 +1274,17 @@ module Lid(){ ////toplevel translate([0,0,-10]) linear_extrude(height= 20) ButtonPlan($button_l, 1,0); - rotate([90,0,0]) - translate([0,0,-100]) - linear_extrude(height= 200) - ButtonCoverProfile(); + union(){ + rotate([90,0,0]) + translate([0,0,-100]) + linear_extrude(height= 200) + ButtonCoverProfile(); + hull() + for (y= [-1,+1] * (($button_l + button_l_fudge)/2 + - lid_buttoncover_reinf)) + translate([0,y,0]) + ButtonCoverReinf(); + } } }