fix some cases

This commit is contained in:
Adrian Mariano 2022-03-13 22:12:18 -04:00
parent 7d6a2b593f
commit ed9e4c8603
2 changed files with 3 additions and 3 deletions

View file

@ -903,7 +903,7 @@ function offset(
select(goodsegs,i-1)[1], select(goodsegs,i-1)[1],
goodsegs[i][0] goodsegs[i][0]
], ],
N=steps[i]) n=steps[i])
], ],
pointcount = (is_def(delta) && !chamfer)? pointcount = (is_def(delta) && !chamfer)?
repeat(1,len(sharpcorners)) : repeat(1,len(sharpcorners)) :

View file

@ -203,11 +203,11 @@ path = arc(d=60, angle=120);
stroke(path, endcap2="arrow2"); 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 ```openscad-2D
include <BOSL2/std.scad> include <BOSL2/std.scad>
path = arc(N=5, r=30, angle=120); path = arc(n=5, r=30, angle=120);
stroke(path, endcap2="arrow2"); stroke(path, endcap2="arrow2");
``` ```