From ed9e4c86038108f161a62d71f91ba798b632eab2 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Sun, 13 Mar 2022 22:12:18 -0400 Subject: [PATCH] fix some cases --- regions.scad | 2 +- tutorials/Paths.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regions.scad b/regions.scad index 2d92813..1316cf4 100644 --- a/regions.scad +++ b/regions.scad @@ -903,7 +903,7 @@ function offset( select(goodsegs,i-1)[1], goodsegs[i][0] ], - N=steps[i]) + n=steps[i]) ], pointcount = (is_def(delta) && !chamfer)? repeat(1,len(sharpcorners)) : diff --git a/tutorials/Paths.md b/tutorials/Paths.md index a147707..aa58a75 100644 --- a/tutorials/Paths.md +++ b/tutorials/Paths.md @@ -203,11 +203,11 @@ path = arc(d=60, angle=120); stroke(path, endcap2="arrow2"); ``` -If you give the `N=` argument, you can control exactly how many points the arc is divided into: +If you give the `n=` argument, you can control exactly how many points the arc is divided into: ```openscad-2D include -path = arc(N=5, r=30, angle=120); +path = arc(n=5, r=30, angle=120); stroke(path, endcap2="arrow2"); ```