X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=utils.scad;h=e440b5f03d6cf1966889522bbc497946d851fb57;hb=2132efba59634024b51ec9c19eb40a490081cfc9;hp=88a1c0448372066ee5b662f43457bd5eeb911b55;hpb=bcee3586806b02e5bb1d0b44749c03ce7bfd9e55;p=reprap-play.git diff --git a/utils.scad b/utils.scad index 88a1c04..e440b5f 100644 --- a/utils.scad +++ b/utils.scad @@ -35,3 +35,17 @@ module linextr(z0,z1, convexity=20) { 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(); +} + +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(); +}