mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
fix some cases
This commit is contained in:
parent
7d6a2b593f
commit
ed9e4c8603
2 changed files with 3 additions and 3 deletions
|
@ -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)) :
|
||||||
|
|
|
@ -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");
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue