From: Ian Jackson Date: Sun, 28 Aug 2016 13:54:51 +0000 (+0100) Subject: flyscreen-handle: from v3: break out Ribbles (nfc) X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=62702e323fdd511901a9f37b367e4647f7c3f76e;p=reprap-play.git flyscreen-handle: from v3: break out Ribbles (nfc) --- diff --git a/flyscreen-handle.scad b/flyscreen-handle.scad index 36205f1..f18a83f 100644 --- a/flyscreen-handle.scad +++ b/flyscreen-handle.scad @@ -158,16 +158,22 @@ module StrapSectBot(){ } } +module Ribbles(xmax, xmin, y){ + for (x = [ xmax + ourcirc_r - ribble_rad : + -ribble_rad * 4 : + xmin ]) { + translate([x, y]) + circle(r = ribble_rad, $fn=20); + } +} + module LeverSectTop(){ difference(){ union(){ LeverSect(true, false); - for (x = [ P8t[0] + ourcirc_r - ribble_rad : - -ribble_rad * 4 : - Q0[0] + edge_or + ribble_rad*2 ]) { - translate([x, P5[1] + ourcirc_r]) - circle(r = ribble_rad, $fn=20); - } + Ribbles(P8t[0], + Q0[0] + edge_or + ribble_rad*2, + P5[1] + ourcirc_r); } translate([pivot_x,0]) circle(r= pivot_r + pivot_slop, $fn=20); }