X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=fairphone-case.scad;h=ba710bd3c9da298aae089186ecf662edb1d7db66;hb=8a1445c5c91b7b976950a8138b6bcd23d387ed9c;hp=72b38a22f9338212d735bd805708cc87b38246c3;hpb=4b827bfd31e8117705f8b3166263d8c21f782b05;p=reprap-play.git diff --git a/fairphone-case.scad b/fairphone-case.scad index 72b38a2..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; @@ -732,9 +733,13 @@ module ButtonCoverReinf(){ ////toplevel minkowski(){ rotate([90,0,0]) linear_extrude(height=0.01) - ButtonCoverProfile(); - if(0) linear_extrude(height=0.01) intersection(){ - circle(r=2); + 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); } } @@ -1269,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(); + } } } @@ -1755,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]) {