X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=topeak-seatstay-lock.scad;h=ff22d27829f9d04b055b096357adf93a2e8c4f6f;hp=b85632423826e7a53df0fec072114bbf059828b6;hb=d86ddeb827f8201d206fc9456f5cb4458387d6ac;hpb=b9b0d04594a0ae8ceb6089fd303e205330c7e931 diff --git a/topeak-seatstay-lock.scad b/topeak-seatstay-lock.scad index b856324..ff22d27 100644 --- a/topeak-seatstay-lock.scad +++ b/topeak-seatstay-lock.scad @@ -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);