mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fix for bug #99
This commit is contained in:
parent
0e187c82f8
commit
9196779257
1 changed files with 3 additions and 3 deletions
|
@ -710,7 +710,7 @@ module xcyl(l=undef, r=undef, d=undef, r1=undef, r2=undef, d1=undef, d2=undef, h
|
|||
anchor = rot(from=RIGHT, to=UP, p=anchor);
|
||||
cyl(l=l, h=h, r=r, r1=r1, r2=r2, d=d, d1=d1, d2=d2, orient=RIGHT, anchor=anchor) {
|
||||
for (i=[0:1:$children-2]) children(i);
|
||||
if ($children>0) children(0);
|
||||
if ($children>0) children($children-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -751,7 +751,7 @@ module ycyl(l=undef, r=undef, d=undef, r1=undef, r2=undef, d1=undef, d2=undef, h
|
|||
anchor = rot(from=BACK, to=UP, p=anchor);
|
||||
cyl(l=l, h=h, r=r, r1=r1, r2=r2, d=d, d1=d1, d2=d2, orient=BACK, anchor=anchor) {
|
||||
for (i=[0:1:$children-2]) children(i);
|
||||
if ($children>0) children(0);
|
||||
if ($children>0) children($children-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -791,7 +791,7 @@ module zcyl(l=undef, r=undef, d=undef, r1=undef, r2=undef, d1=undef, d2=undef, h
|
|||
{
|
||||
cyl(l=l, h=h, r=r, r1=r1, r2=r2, d=d, d1=d1, d2=d2, orient=UP, anchor=anchor) {
|
||||
for (i=[0:1:$children-2]) children(i);
|
||||
if ($children>0) children(0);
|
||||
if ($children>0) children($children-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue