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
(from parent 1:
cfed247
)
cable-splice-clamp: other half
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 17:30:47 +0000
(17:30 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 17:30:47 +0000
(17:30 +0000)
cable-splice-clamp.scad
patch
|
blob
|
history
diff --git
a/cable-splice-clamp.scad
b/cable-splice-clamp.scad
index fab44d483f7aa8af13f9367bc53469f4fce7655c..709965ae3bef35d59d1b61ed50dc05ac8a96ac32 100644
(file)
--- a/
cable-splice-clamp.scad
+++ b/
cable-splice-clamp.scad
@@
-63,7
+63,7
@@
basew = base_r * rnom;
echo("dias", r0*2, r1*2, "ratio",r1/r0);
-module CrossSection(plus=0) {
+module CrossSection
Half
(plus=0) {
difference(){
polygon([[-0.1, y_T_r * r0],
[x_T_r * r0, y_T_r * r0],
@@
-76,6
+76,13
@@
module CrossSection(plus=0) {
}
}
+module CrossSection(plus=0) {
+ for (m=[0,1]) {
+ mirror([m,0])
+ CrossSectionHalf(plus);
+ }
+}
+
module CrossSectionDemo(){ ////toplevel
color("black") CrossSection(2);
CrossSection();