chiark / gitweb /
pump-inframe-bracket: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 13:33:21 +0000 (14:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 13:33:21 +0000 (14:33 +0100)
pump-inframe-bracket.scad [new file with mode: 0644]

diff --git a/pump-inframe-bracket.scad b/pump-inframe-bracket.scad
new file mode 100644 (file)
index 0000000..8eebd70
--- /dev/null
@@ -0,0 +1,31 @@
+// -*- C -*-
+
+tube_dia = 27.5 + 0.5;
+pump_w = 42.5 + 0.5;
+pump_d = 28.0 + 0.5;
+main_h = 45.0;
+backflange_d = 12;
+
+back_gap = 7;
+main_th = 2.5;
+
+// calculated
+
+tube_or = tube_dia/2 + main_th;
+back_ohw = back_gap/2 + main_th;
+backflange_ymin = tube_or+backflange_d;
+
+module MainPlan(){
+  difference(){
+    union(){
+      circle(r = tube_or);
+      translate([-back_ohw,0]) mirror([0,1])
+       square([back_ohw*2, backflange_ymin]);
+    }
+    circle(r = tube_dia/2);
+    translate([-back_gap/2,1]) mirror([0,1])
+      square([back_gap, backflange_ymin+2]);
+  }
+}
+
+MainPlan();