mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Distributors bugfixes.
This commit is contained in:
parent
a98b2a833f
commit
cab3eaf37f
1 changed files with 8 additions and 8 deletions
|
@ -418,13 +418,13 @@ function zcopies(spacing, n, l, sp, p=_NO_ARG) =
|
|||
|
||||
module line_of(spacing, n, l, p1, p2) {
|
||||
deprecate("line_copies");
|
||||
line_copies(spacing, n, l, p1, p2);
|
||||
line_copies(spacing, n, l, p1, p2) children();
|
||||
}
|
||||
|
||||
module line_copies(spacing, n, l, p1, p2)
|
||||
{
|
||||
req_children($children);
|
||||
pts = line_copies(spacing=spacing, n=n, l=l, p1=p1, p2=p2);
|
||||
pts = line_copies(spacing=spacing, n=n, l=l, p1=p1, p2=p2, p=[0,0,0]);
|
||||
for (i=idx(pts)) {
|
||||
$idx = i;
|
||||
$pos = pts[i];
|
||||
|
@ -1112,7 +1112,7 @@ function zrot_copies(rots=[], cp=[0,0,0], n, sa=0, r, d, subrot=true, p=_NO_ARG)
|
|||
|
||||
module arc_of(n=6,r,rx,ry,d,dx,dy,sa=0,ea=360,rot=true){
|
||||
deprecate("arc_copies");
|
||||
arc_copies(n,r,rx,ry,d,dx,dy,sa,ea,rot);
|
||||
arc_copies(n,r,rx,ry,d,dx,dy,sa,ea,rot) children();
|
||||
}
|
||||
|
||||
|
||||
|
@ -1220,7 +1220,7 @@ function arc_copies(
|
|||
module ovoid_spread(n=100, r=undef, d=undef, cone_ang=90, scale=[1,1,1], perp=true)
|
||||
{
|
||||
deprecate("sphere_copies");
|
||||
sphere_copies(n,r,d,cone_ang,scale,perp);
|
||||
sphere_copies(n,r,d,cone_ang,scale,perp) children();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue