From 0beab555d881618e9d60c6774ab57d42d79ce3e8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 26 Aug 2016 01:13:33 +0100 Subject: [PATCH] flyscreen-handle: provide GappingSection --- flyscreen-handle.scad | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) 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(); -- 2.30.2