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=ba066669963419249ff2b3207edca001dc3d0ebd;hp=954045160d9bb05dc8d68d3fc5a8695b85e8a9f0;hb=31ea2e7a50d7611c7ed16ebc7e977d0a7f7e3bd2;hpb=eb9d41668b8c26d63a1d0adf67099e8027baa596 diff --git a/topeak-seatstay-lock.scad b/topeak-seatstay-lock.scad index 9540451..ba06666 100644 --- a/topeak-seatstay-lock.scad +++ b/topeak-seatstay-lock.scad @@ -26,7 +26,8 @@ clatter_gap = 0.5; cut_rotation = 2; holes_rotation = 9; -pin_offset = 6; +pin_y_offset = 5.5; +pin_x_offset = 0.5; ridge_rotation = 8.5; // computed @@ -74,7 +75,7 @@ module Body(){ } module Pin(){ - translate([0, pin_offset, 0]) rotate([0,90,0]){ + translate([pin_x_offset, pin_y_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]); @@ -110,11 +111,14 @@ module Piece(pc,interval){ } } -module PiecesPrint(){ +module PiecePrint(pc){ rotate([0,180,0]) - for (pc=[0,1]){ - Piece(pc,4); - } + Piece(pc,4); +} + +module PiecesPrint(){ + PiecePrint(0); + PiecePrint(1); } module Demo(){ @@ -128,3 +132,5 @@ module Demo(){ //Pin(); //Pieces(); PiecesPrint(); +//PiecePrint(0); +//PiecePrint(1);