chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d895ba
)
topeak-seatstay-lock: break out PiecePrint
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Jun 2014 09:48:50 +0000
(10:48 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Jun 2014 09:48:50 +0000
(10:48 +0100)
topeak-seatstay-lock.scad
patch
|
blob
|
history
diff --git
a/topeak-seatstay-lock.scad
b/topeak-seatstay-lock.scad
index f5265e670ac76a70ee79c2f5f1aaa9004516c0f3..b85632423826e7a53df0fec072114bbf059828b6 100644
(file)
--- a/
topeak-seatstay-lock.scad
+++ b/
topeak-seatstay-lock.scad
@@
-111,11
+111,15
@@
module Piece(pc,interval){
}
}
-module Piece
sPrint(
){
+module Piece
Print(pc
){
rotate([0,180,0])
- for (pc=[0,1]){
- Piece(pc,4);
- }
+ Piece(pc,4);
+}
+
+module PiecesPrint(pcs=[0,1]){
+ for (pc=pcs){
+ PiecePrint();
+ }
}
module Demo(){