X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=fairphone-case.scad;h=ba710bd3c9da298aae089186ecf662edb1d7db66;hp=8c427d462c93b4ff9db9e88fa22d7f6e4ef6d700;hb=4102833288a860f53df35fbd023df44933aec3f0;hpb=3cba7243866fc437fddfcd7abfde216b0dd6af76 diff --git a/fairphone-case.scad b/fairphone-case.scad index 8c427d4..ba710bd 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; @@ -728,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 ]) @@ -1052,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); @@ -1257,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(); + } } } @@ -1743,8 +1767,9 @@ module DemoProfiles(){ ////toplevel %EdgeProfile(); %LidEdgeProfile(); //translate([0,0,1]) CatchCutProfile(); + translate([0,0,+1]) color("red") + difference(){ EdgeProfile(); CatchCutProfile(); } color("blue") CatchCatchProfile(); - color("red") difference(){ EdgeProfile(); CatchCutProfile(); } } translate([40,-30]) {