From da44780021f1136287a8c223c9b237c0bdaad217 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 23 Mar 2017 10:24:05 +0800 Subject: [PATCH] provided supports for $fa, $fs, $fn --- src/polyline3d.scad | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/polyline3d.scad b/src/polyline3d.scad index d35bcac3..fd834dae 100644 --- a/src/polyline3d.scad +++ b/src/polyline3d.scad @@ -11,7 +11,7 @@ * **/ -module polyline3d(points, thickness, startingStyle = "CAP_CIRCLE", endingStyle = "CAP_CIRCLE", fn = 24) { +module polyline3d(points, thickness, startingStyle = "CAP_CIRCLE", endingStyle = "CAP_CIRCLE") { module line_segment(index) { styles = index == 1 ? [startingStyle, "CAP_BUTT"] : ( index == len(points) - 1 ? ["CAP_SPHERE", endingStyle] : [ @@ -20,8 +20,7 @@ module polyline3d(points, thickness, startingStyle = "CAP_CIRCLE", endingStyle = ); line3d(points[index - 1], points[index], thickness, - p1Style = styles[0], p2Style = styles[1], - fn = fn); + p1Style = styles[0], p2Style = styles[1]); } module polyline3d_inner(points, index) {