From c25db184f0a014a0e6ea8fee297d51a5f8c6671e Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 23 Mar 2017 10:04:53 +0800 Subject: [PATCH] provided supports for $fa, $fs, $fn --- src/hull_polyline3d.scad | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hull_polyline3d.scad b/src/hull_polyline3d.scad index 65a4906e..5cb0a017 100644 --- a/src/hull_polyline3d.scad +++ b/src/hull_polyline3d.scad @@ -3,7 +3,7 @@ * * Creates a 3D polyline from a list of `[x, y, z]` coordinates. * As the name says, it uses the built-in hull operation for each pair of points. -* It's slow. However, it can be used to create metallic effects when the fn parameter is small. +* It's slow. However, it can be used to create metallic effects for a small $fn, large $fa or $fs. * * @copyright Justin Lin, 2017 * @license https://opensource.org/licenses/lgpl-3.0.html @@ -12,8 +12,7 @@ * **/ -module hull_polyline3d(points, thickness, fn = 3) { - $fn = fn; +module hull_polyline3d(points, thickness) { half_thickness = thickness / 2; leng = len(points);