From: Ian Jackson Date: Sat, 24 Aug 2019 11:56:04 +0000 (+0100) Subject: utils: linextr: Honour convexity and default it to 20 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=bcee3586806b02e5bb1d0b44749c03ce7bfd9e55 utils: linextr: Honour convexity and default it to 20 Signed-off-by: Ian Jackson --- diff --git a/utils.scad b/utils.scad index 6af49c4..88a1c04 100644 --- a/utils.scad +++ b/utils.scad @@ -30,8 +30,8 @@ module rectfromto(a,b) { square([abs(ab[0]), abs(ab[1])]); } module circleat(c,r) { translate(c) circle(r); } -module linextr(z0,z1) { +module linextr(z0,z1, convexity=20) { translate([0,0,z0]) - linear_extrude(height=z1-z0) + linear_extrude(height=z1-z0, convexity=convexity) children(); }