chiark / gitweb /
bike-lipo-box-gland: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2016 20:18:33 +0000 (20:18 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2016 20:18:33 +0000 (20:18 +0000)
bike-lipo-box-gland.scad [new file with mode: 0644]

diff --git a/bike-lipo-box-gland.scad b/bike-lipo-box-gland.scad
new file mode 100644 (file)
index 0000000..59a78f8
--- /dev/null
@@ -0,0 +1,39 @@
+// -*- C -*-
+
+include <commitid.scad>
+
+module Gland(){
+    hull(){
+      for (m=[0,1]) {
+       mirror([0,0, m]) {
+         translate([0,0, 8]) cylinder(r=13, h=0.5);
+         translate([0,0, 1.5]) cylinder(r=20, h=0.5);
+       }
+      }
+    }
+}
+
+module Plate(){
+  difference(){
+    union(){
+      Gland();
+      translate([-30,-30,0])
+       cube([60,60,3]);
+    }
+    translate([0,0,-50])
+      cylinder(r=12.5, h=100);
+  }
+}
+
+module Test(){
+  rotate([90,0,0])
+    translate([0, 30, 0])
+    Plate();
+  difference(){
+    translate([-20,-20,0])
+      cube([40,20,1.2]);
+    Commitid_BestCount([40,20]);
+  }
+}
+
+Test();