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:
c827170
)
fairphone-case: provide linextr (no callers yet, so nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 17:09:36 +0000
(17:09 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 17:09:36 +0000
(17:09 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad
patch
|
blob
|
history
diff --git
a/fairphone-case.scad
b/fairphone-case.scad
index 00d167eb785767a9e30fd6209749ecfa8818f94c..6ed1fc4b2642fd7659519569990aee69cdb3c7c8 100644
(file)
--- a/
fairphone-case.scad
+++ b/
fairphone-case.scad
@@
-119,6
+119,11
@@
module rectfromto(a,b) {
square([abs(ab[0]), abs(ab[1])]);
}
module circleat(c,r) { translate(c) circle(r); }
+module linextr(z0,z1) {
+ translate([0,0,z0])
+ linear_extrude(height=z1-z0)
+ children();
+}
module KeeperProfile(slant=0){
use_e = kppe + [0,-1] * slant * keeper_inner_width / keeper_slant_slope;