From: Ian Jackson Date: Fri, 26 Aug 2016 00:13:33 +0000 (+0100) Subject: flyscreen-handle: provide GappingSection X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=0beab555d881618e9d60c6774ab57d42d79ce3e8 flyscreen-handle: provide GappingSection --- diff --git a/flyscreen-handle.scad b/flyscreen-handle.scad index ecc5ff8..253febf 100644 --- a/flyscreen-handle.scad +++ b/flyscreen-handle.scad @@ -85,18 +85,27 @@ module RetainSection(){ translate([0,ins_orad]) circle(r=retain_rad, $fn=20); } -module RetainCutout(){ +module RetainCutout(gapping=false){ rotate(180-retain_empir_angle) translate([0,ins_orad]) { difference(){ circle(r=retain_rad + cutout_gap, $fn=20); - rotate(180 + retain_empir_angle/2) - translate([0, -retain_empir_stalkw]) - square([100, retain_empir_stalkw*2]); + if (!gapping) + rotate(180 + retain_empir_angle/2) + translate([0, -retain_empir_stalkw]) + square([100, retain_empir_stalkw*2]); } } } +module GappingSection(){ + difference(){ + InsertSection(); + RetainCutout(true); + } + HandleSection(); +} + module WithRetainSection(){ difference(){ InsertSection(); @@ -126,5 +135,6 @@ module Test(){ //Demo(); //WithRetainSection(); -BasicSection(); +//BasicSection(); +GappingSection(); //Test();