chiark / gitweb /
topeak-seatstay-lock: wip just start pin
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 31 May 2014 20:09:05 +0000 (21:09 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 31 May 2014 20:09:05 +0000 (21:09 +0100)
topeak-seatstay-lock.scad

index efa3d13cdd10c213a67c033254e00736c12b9f68..59552bf0dee95a8270492718aeb8d348b2dcbed9 100644 (file)
@@ -7,6 +7,17 @@ pump_seatstay_gap = 12.3;
 pump_seatstay_delta = 0.1;
 holes_rotation = 7;
 
 pump_seatstay_delta = 0.1;
 holes_rotation = 7;
 
+body_thick_x = 5;
+body_thick_y = 5;
+
+pin_workdepth = 15;
+pin_width = 11 + 0.5;
+pin_thick = 3 + 0.4;
+
+// computed
+
+body_depth = pin_width + 8;
+
 module Holes(){
   translate([0, -pump_dia/2]);
   rotate(-holes_rotation){
 module Holes(){
   translate([0, -pump_dia/2]);
   rotate(-holes_rotation){
@@ -24,4 +35,22 @@ module Holes(){
   }
 }
 
   }
 }
 
-Holes();
+module BodyPlan(){
+  hull(){
+    for(x=[-1,1]) for(y=[-1,1])
+      translate([x*body_thick_x, y*body_thick_y])
+       Holes();
+  }
+}
+
+module Body(){
+  translate([0,0,-body_depth/2])
+    linear_extrude(height=body_depth){
+    difference(){
+      BodyPlan();
+      Holes();
+    }
+  }
+}
+
+Body();