Merge pull request #607 from revarbat/revarbat_dev

Fixed path_chamfer_and_rounding() default for closed=
This commit is contained in:
Revar Desmera 2021-07-10 22:22:55 -07:00 committed by GitHub
commit a282d224d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,7 +453,7 @@ function path_torsion(path, closed=false) =
// rs = [for (i=[0:4]) each [0,10]];
// path2 = path_chamfer_and_rounding(path, closed=true, chamfer=chamfs, rounding=rs);
// stroke(path2, closed=true);
function path_chamfer_and_rounding(path, closed, chamfer, rounding) =
function path_chamfer_and_rounding(path, closed=true, chamfer, rounding) =
let (
path = deduplicate(path,closed=true),
lp = len(path),