mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
parameter passing bug fix for offset_sweep
This commit is contained in:
parent
7d6fca27a6
commit
4ba8670a55
1 changed files with 3 additions and 2 deletions
|
@ -731,6 +731,7 @@ function offset_sweep(
|
|||
["k", k],
|
||||
["points", []],
|
||||
],
|
||||
afda=echo(extra=struct_val(argspec,"extra")),
|
||||
path = check_and_fix_path(path, [2], closed=true),
|
||||
clockwise = polygon_is_clockwise(path),
|
||||
|
||||
|
@ -804,8 +805,8 @@ module offset_sweep(path, height, h, l,
|
|||
convexity=10,anchor="origin",cp,
|
||||
spin=0, orient=UP, extent=false)
|
||||
{
|
||||
vnf = offset_sweep(path=path, height=height, h=h, l=l, top=top, bottom=bottom, offset=offset, r=0, steps=steps,
|
||||
quality=quality, check_valid=true, offset_maxstep=1, extra=0, cut=cut, chamfer_width=chamfer_width,
|
||||
vnf = offset_sweep(path=path, height=height, h=h, l=l, top=top, bottom=bottom, offset=offset, r=r, steps=steps,
|
||||
quality=quality, check_valid=true, offset_maxstep=offset_maxstep, extra=extra, cut=cut, chamfer_width=chamfer_width,
|
||||
chamfer_height=chamfer_height, joint=joint, k=k, angle=angle);
|
||||
|
||||
attachable(anchor=anchor, spin=spin, orient=orient, vnf=vnf, extent=extent, cp=is_def(cp) ? cp : vnf_centroid(vnf))
|
||||
|
|
Loading…
Reference in a new issue