mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-07 11:22:07 +00:00
fix invalid outputs from module version of path_sweep
This commit is contained in:
parent
87fefef1b9
commit
39cdd4b783
1 changed files with 3 additions and 0 deletions
|
|
@ -2221,6 +2221,9 @@ module path_sweep(shape, path, method="incremental", normal, closed, twist=0, tw
|
|||
{
|
||||
dummy = assert(is_region(shape) || is_path(shape,2), "\nshape must be a 2D path or region.")
|
||||
assert(in_list(atype, _ANCHOR_TYPES), "\nAnchor type must be \"hull\" or \"intersect\".");
|
||||
caps = !closed ? caps
|
||||
: assert(is_undef(caps) || caps==false || caps==[false,false], "Cannot specify caps when closed=true")
|
||||
false;
|
||||
trans_scale = path_sweep(shape, path, method, normal, closed, twist, twist_by_length, scale, scale_by_length,
|
||||
symmetry, last_normal, tangent, uniform, relaxed, caps, style, transforms=true,_return_scales=true);
|
||||
transforms = trans_scale[0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue