chiark / gitweb /
bike-lipo-box: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Feb 2016 21:43:47 +0000 (21:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Feb 2016 21:43:47 +0000 (21:43 +0000)
bike-lipo-box.scad [new file with mode: 0644]

diff --git a/bike-lipo-box.scad b/bike-lipo-box.scad
new file mode 100644 (file)
index 0000000..e03d45c
--- /dev/null
@@ -0,0 +1,29 @@
+// -*- C -*-
+
+pxp6012_rad = 22.5 / 2 + 0.5;
+pxp6012_rad_outer = 32.0 / 2 - 0.5;
+
+s1930_y = 30.2 + 0.2;
+s1930_x =   22 + 0.2;
+s1930_y_outer = 36.4 + 0.2;
+s1930_x_outer = 27.6 + 0.2;
+
+s1930_recess = 3;
+
+wallthick = 3.0;
+
+module TestWall(){
+  rotate([0,0,-90]){
+    difference(){
+      union(){
+       cube([50, wallthick, 42]);
+      }
+
+      translate([30, -1, 20])
+       rotate([-90,0,0])
+       cylinder(r = pxp6012_rad, h=10, $fn=60);
+    }
+  }
+}
+
+TestWall();