From 62702e323fdd511901a9f37b367e4647f7c3f76e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 28 Aug 2016 14:54:51 +0100 Subject: [PATCH] flyscreen-handle: from v3: break out Ribbles (nfc) --- flyscreen-handle.scad | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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); } -- 2.30.2