X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=flyscreen-handle.scad;fp=flyscreen-handle.scad;h=0b0e415ffde80109484562a4a34a4833d9b76aca;hb=adcac9c280177b3ab66d62ec697e1baab94ff367;hp=bdae86586f9e0e010ed814aa06e1f0e767073da9;hpb=566a4121fab428bd75c551f1574643e8e1394bdf;p=reprap-play.git diff --git a/flyscreen-handle.scad b/flyscreen-handle.scad index bdae865..0b0e415 100644 --- a/flyscreen-handle.scad +++ b/flyscreen-handle.scad @@ -110,15 +110,17 @@ module LeverSect(top, inadj=false){ P6 = inadj ? P6a : P6t; P8 = top ? P8t : P8b; P9 = top ? P9t : P9b; - PsHull([P2,P3,P4]); difference(){ - PsHull([P0,P1,P2,P5,P8,P9]); + union(){ + PsHull([P2,P3,P4]); + PsHull([P0,P1,P2,P5,P8,P9]); + } hull(){ - for (p = [ Q0, - Q0 + (P6-P5), - Q0 + (P3-P4) - ]) { - translate(p) circle(r=edge_or, $fn=20); + for (dp = [ [0,0], + (P6-P5), + (P3-P4) + ]) { + translate(Q0 + 5*dp) circle(r=edge_or, $fn=20); } } } @@ -179,5 +181,6 @@ module Test(){ translate([0,-opening_height - 2,0]) LeverBot(true); } +//LeverSectBot(true); Demo(); //Test();