X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=topeak-seatstay-lock.scad;h=8d5323820583e37799b50534d79d7edfa033b571;hb=d51e2c0f88ec1f73d15be824374b306f86b5a5a7;hp=d00f0d45fda90b5fb6bf2272eebb3b33c469195e;hpb=736b9344219efd9875a47bb859160434282bad8a;p=reprap-play.git diff --git a/topeak-seatstay-lock.scad b/topeak-seatstay-lock.scad index d00f0d4..8d53238 100644 --- a/topeak-seatstay-lock.scad +++ b/topeak-seatstay-lock.scad @@ -24,6 +24,7 @@ clatter_gap = 0.5; // fudgeish +cut_rotation = 2; holes_rotation = 9; pin_offset = 7; @@ -87,11 +88,6 @@ module Pin(){ } } -module Demo(){ - %Body(); - Pin(); -} - module All(){ difference(){ Body(); @@ -99,10 +95,10 @@ module All(){ } } -module Piece(pc){ - translate([0,-pc*4,0]) +module Piece(pc,interval){ + translate([0,-pc*interval,0]) intersection(){ - mirror([0,pc,0]) + rotate([0,0,pc*180-cut_rotation]) translate([-200,clatter_gap/2,-200]) cube([400,400,400]); All(); } @@ -111,10 +107,16 @@ module Piece(pc){ module PiecesPrint(){ rotate([0,180,0]) for (pc=[0,1]){ - Piece(pc); + Piece(pc,4); } } +module Demo(){ + for (pc=[0,1]) + Piece(pc,0); +} + +//Holes(); //Demo(); //All(); //Pin();