chiark / gitweb /
topeak-seatstay-lock: before pinhang
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 31 May 2014 20:22:04 +0000 (21:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 31 May 2014 20:22:04 +0000 (21:22 +0100)
topeak-seatstay-lock.scad

index 59552bf0dee95a8270492718aeb8d348b2dcbed9..9bb5238f3e3f2f738dedd429b5f8dbc56cddbe32 100644 (file)
@@ -5,14 +5,22 @@ seatstay_mindia = 14;
 seatstay_maxdia = 19;
 pump_seatstay_gap = 12.3;
 pump_seatstay_delta = 0.1;
 seatstay_maxdia = 19;
 pump_seatstay_gap = 12.3;
 pump_seatstay_delta = 0.1;
-holes_rotation = 7;
 
 body_thick_x = 5;
 body_thick_y = 5;
 
 
 body_thick_x = 5;
 body_thick_y = 5;
 
-pin_workdepth = 15;
+pin_workdepth = 16;
 pin_width = 11 + 0.5;
 pin_thick = 3 + 0.4;
 pin_width = 11 + 0.5;
 pin_thick = 3 + 0.4;
+pin_base = 25;
+
+lock_manouvre_thick = 3.5 + 0.5;
+lock_manouvre_len = 18;
+
+// fudgeish
+
+holes_rotation = 9;
+pin_offset = 2;
 
 // computed
 
 
 // computed
 
@@ -53,4 +61,29 @@ module Body(){
   }
 }
 
   }
 }
 
-Body();
+module Pin(){
+  translate([0, pin_offset, 0]) rotate([0,90,0]){
+    translate([0, 0, -pin_thick/2])
+      linear_extrude(height=pin_thick){
+      translate([-pin_base/2, 0]) square([pin_base, 50]);
+      translate([-pin_width/2, -100]) square([pin_width, 101]);
+    }
+    translate([-lock_manouvre_thick/2, -pin_workdepth-100, -lock_manouvre_len])
+      cube([lock_manouvre_thick, 100, lock_manouvre_len*2]);
+  }
+}
+
+module Demo(){
+  %Body();
+  Pin();
+}
+
+module All(){
+  difference(){
+    Body();
+    Pin();
+  }
+}
+
+Demo();
+//All();