chiark / gitweb /
topeak-seatstay-lock: v4 warped, probably due to slow speed?
[reprap-play.git] / topeak-seatstay-lock.scad
index b85632423826e7a53df0fec072114bbf059828b6..ff22d27829f9d04b055b096357adf93a2e8c4f6f 100644 (file)
@@ -29,6 +29,7 @@ holes_rotation = 9;
 pin_y_offset = 5.5;
 pin_x_offset = 0.5;
 ridge_rotation = 8.5;
+lock_hang_ratio = 7;
 
 // computed
 
@@ -82,16 +83,13 @@ module Pin(){
       translate([-pin_width/2, -100]) square([pin_width, 101]);
     }
     hull() for (d=[0,10]) {
-      translate([d*2,-d,0])
+      translate([d*lock_hang_ratio,-d,0])
        translate([-lock_manouvre_thick/2,
                   -pin_workdepth-100,
                   -lock_manouvre_len_smaller])
        cube([lock_manouvre_thick, 100,
              lock_manouvre_len + lock_manouvre_len_smaller]);
     }
-    translate([-lock_manouvre_thick/2, -pin_workdepth-50,
-              -lock_hang_width/2])
-      cube([50, 50, lock_hang_width]);
   }
 }
 
@@ -116,10 +114,9 @@ module PiecePrint(pc){
     Piece(pc,4);
 }
 
-module PiecesPrint(pcs=[0,1]){
-  for (pc=pcs){
-    PiecePrint();
-  }
+module PiecesPrint(){
+  PiecePrint(0);
+  PiecePrint(1);
 }
 
 module Demo(){
@@ -133,3 +130,5 @@ module Demo(){
 //Pin();
 //Pieces();
 PiecesPrint();
+//PiecePrint(0);
+//PiecePrint(1);