From: Ian Jackson Date: Sun, 14 Aug 2016 13:40:29 +0000 (+0100) Subject: pump-inframe-bracket: wip, have (most of) MainPlan X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4d3af939428942eb40d17c3203ce5f0cd38b314e;p=reprap-play.git pump-inframe-bracket: wip, have (most of) MainPlan --- diff --git a/pump-inframe-bracket.scad b/pump-inframe-bracket.scad index 8eebd70..edfb6e9 100644 --- a/pump-inframe-bracket.scad +++ b/pump-inframe-bracket.scad @@ -8,13 +8,31 @@ backflange_d = 12; back_gap = 7; main_th = 2.5; +midweb_d = 3; // calculated +front_th = main_th; + tube_or = tube_dia/2 + main_th; back_ohw = back_gap/2 + main_th; backflange_ymin = tube_or+backflange_d; +pump_0y = tube_dia/2 + pump_d/2 + midweb_d; + +pump_or = [pump_w, pump_d]/2 + [front_th,front_th]; + +module oval(sz){ // sz[0] > sz[1] + xr = sz[0]; + yr = sz[1]; + hull(){ + for (sx=[-1,+1]) { + translate([sx * (xr-yr), 0]) + circle(r=yr); + } + } +} + module MainPlan(){ difference(){ union(){ @@ -26,6 +44,14 @@ module MainPlan(){ translate([-back_gap/2,1]) mirror([0,1]) square([back_gap, backflange_ymin+2]); } + translate([0, pump_0y]){ + difference(){ + union(){ + oval(pump_or); + } + oval([pump_w/2, pump_d/2]); + } + } } MainPlan();