chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
topeak-seatstay-lock: wip fix rim tube: introduce cut_rotation
[reprap-play.git]
/
topeak-seatstay-lock.scad
diff --git
a/topeak-seatstay-lock.scad
b/topeak-seatstay-lock.scad
index d00f0d45fda90b5fb6bf2272eebb3b33c469195e..8d5323820583e37799b50534d79d7edfa033b571 100644
(file)
--- a/
topeak-seatstay-lock.scad
+++ b/
topeak-seatstay-lock.scad
@@
-24,6
+24,7
@@
clatter_gap = 0.5;
// fudgeish
// fudgeish
+cut_rotation = 2;
holes_rotation = 9;
pin_offset = 7;
holes_rotation = 9;
pin_offset = 7;
@@
-87,11
+88,6
@@
module Pin(){
}
}
}
}
-module Demo(){
- %Body();
- Pin();
-}
-
module All(){
difference(){
Body();
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(){
intersection(){
-
mirror([0,pc,0
])
+
rotate([0,0,pc*180-cut_rotation
])
translate([-200,clatter_gap/2,-200]) cube([400,400,400]);
All();
}
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]){
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();
//Demo();
//All();
//Pin();