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=f854e59413b53ce4b16cce983c7b431e754ad0f2;hb=d86ddeb827f8201d206fc9456f5cb4458387d6ac;hpb=8b07a6d5a83e94bfdbf3a2e24f538e92e279eb22 diff --git a/topeak-seatstay-lock.scad b/topeak-seatstay-lock.scad index f854e59..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(){