From: Ian Jackson Date: Fri, 26 Aug 2016 18:12:32 +0000 (+0100) Subject: flyscreen-handle: wip sort out new slopes X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=e41c2f5f9329706dceafdfa562eae9949e5ad6b8 flyscreen-handle: wip sort out new slopes --- diff --git a/flyscreen-handle.scad b/flyscreen-handle.scad index 00136e7..85434c5 100644 --- a/flyscreen-handle.scad +++ b/flyscreen-handle.scad @@ -31,7 +31,6 @@ cutout_gap = 1.5; total_len = 35; retaining_len = 10; -overret_gaplen = 5; overret_hch = 5; @@ -53,6 +52,10 @@ topprotr_y = -ins_irad + opening_topprotr; retain_mxy = [handle_x0 - retain_rad - retain_hgap_adjust, -ins_orad + retain_rad - retain_protr]; +retain_cutout_h = retain_rad * 2 + retain_bend_gap; + +overret_gaplen = retain_cutout_h / cos(retain_empir_angle); + module InsertSection(){ hull(){ translate([-ins_irad, -ins_irad]) @@ -115,7 +118,7 @@ module RetainCutout(gapping=false){ rotate(retain_empir_angle) { translate([-50, -retain_rad]) { square([50 + retain_stalk_len, - retain_rad * 2 + retain_bend_gap]); + retain_cutout_h]); } } } @@ -123,10 +126,12 @@ module RetainCutout(gapping=false){ module GappingSection(){ difference(){ - InsertSection(); + union(){ + InsertSection(); + HandleSection(); + } RetainCutout(true); } - HandleSection(); } module WithRetainSection(){ @@ -155,10 +160,10 @@ module Handle(){ translate([0,0, bs1+0.1]) mirror([0,0,1]) { intersection_for (sl=[0,1]) { multmatrix([[1,0,0,0], - [0,1,sl*0.65,0], + [0,1,sl,0], [0,0,1,0], [0,0,0,1]]) - linear_extrude(height= overret_gaplen+1, convexity=100) + linear_extrude(height= overret_gaplen + 10, convexity=100) BasicSection(); } } @@ -183,6 +188,6 @@ module Test(){ //WithRetainSection(); //BasicSection(); //GappingSection(); -Test(); +//Test(); //Demo(); -//Handle(); +Handle();