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:
bcee358
)
utils: linextr_x_yz: New module
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 24 Aug 2019 11:56:19 +0000
(12:56 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 24 Aug 2019 11:56:19 +0000
(12:56 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
utils.scad
patch
|
blob
|
history
diff --git
a/utils.scad
b/utils.scad
index 88a1c0448372066ee5b662f43457bd5eeb911b55..16bd83b538a444a171a3491202175f6ddf6f6bb1 100644
(file)
--- a/
utils.scad
+++ b/
utils.scad
@@
-35,3
+35,10
@@
module linextr(z0,z1, convexity=20) {
linear_extrude(height=z1-z0, convexity=convexity)
children();
}
linear_extrude(height=z1-z0, convexity=convexity)
children();
}
+
+module linextr_x_yz(x0,x1, convexity=20) { // XY turn into YZ
+ rotate([90,0,0])
+ rotate([0,90,0])
+ linextr(x0,x1, convexity=convexity)
+ children();
+}