mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-07 05:36:40 +02:00
fix some cases
This commit is contained in:
@@ -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");
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user