chiark / gitweb /
utils: linextr_y_xz: New module
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Sep 2019 13:35:18 +0000 (14:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Sep 2019 13:35:18 +0000 (14:35 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
utils.scad

index 16bd83b538a444a171a3491202175f6ddf6f6bb1..e440b5f03d6cf1966889522bbc497946d851fb57 100644 (file)
@@ -42,3 +42,10 @@ module linextr_x_yz(x0,x1, convexity=20) { // XY turn into YZ
     linextr(x0,x1, convexity=convexity)
     children();
 }
+
+module linextr_y_xz(y0,y1, convexity=20) { // XY turn into YZ
+  rotate([0,0,180])
+    rotate([90,0,0])
+    linextr(y0,y1, convexity=convexity)
+    children();
+}