From 46399761bbd1178e5574c8897d284ceb3bc815d8 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Wed, 13 Dec 2023 14:00:11 -0800 Subject: [PATCH] Update utility.scad Fixed typo in segs() example 1 --- utility.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility.scad b/utility.scad index 4c2dbb6..1bf6283 100644 --- a/utility.scad +++ b/utility.scad @@ -779,7 +779,7 @@ function scalar_vec3(v, dflt) = // r = Radius of circle to get the number of segments for. // Example: // $fn=12; sides=segs(10); // Returns: 12 -// $fa=2; $fs=3, sides=segs(10); // Returns: 21 +// $fa=2; $fs=3; sides=segs(10); // Returns: 21 function segs(r) = $fn>0? ($fn>3? $fn : 3) : let( r = is_finite(r)? r : 0 )