mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
remove echo
This commit is contained in:
parent
0df14ad185
commit
9d4430387f
1 changed files with 1 additions and 2 deletions
|
@ -514,8 +514,7 @@ function line_copies(spacing, n, l, p1, p2, p=_NO_ARG) =
|
||||||
spc = cnt<=1? [0,0,0]
|
spc = cnt<=1? [0,0,0]
|
||||||
: is_undef(spacing) && is_def(ll)? ll/(cnt-1)
|
: is_undef(spacing) && is_def(ll)? ll/(cnt-1)
|
||||||
: is_num(spacing) && is_def(ll)? (ll/(cnt-1))
|
: is_num(spacing) && is_def(ll)? (ll/(cnt-1))
|
||||||
: scalar_vec3(spacing, 0),
|
: scalar_vec3(spacing, 0)
|
||||||
afd=echo(spc=spc)
|
|
||||||
)
|
)
|
||||||
assert(!is_undef(cnt), "Need two of `spacing`, 'l', 'n', or `p1`/`p2` arguments in `line_copies()`.")
|
assert(!is_undef(cnt), "Need two of `spacing`, 'l', 'n', or `p1`/`p2` arguments in `line_copies()`.")
|
||||||
let( spos = !is_undef(p1)? point3d(p1) : -(cnt-1)/2 * spc )
|
let( spos = !is_undef(p1)? point3d(p1) : -(cnt-1)/2 * spc )
|
||||||
|
|
Loading…
Reference in a new issue