mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-17 09:59:39 +00:00
Bugfix for oval() not properly using circum args.
This commit is contained in:
parent
ca1d46d641
commit
be3dd53132
2 changed files with 2 additions and 2 deletions
|
@ -819,7 +819,7 @@ module oval(r, d, realign=false, circum=false, anchor=CENTER, spin=0) {
|
||||||
sides = segs(r);
|
sides = segs(r);
|
||||||
rr = circum? r/cos(180/sides) : r;
|
rr = circum? r/cos(180/sides) : r;
|
||||||
attachable(anchor,spin, two_d=true, r=rr) {
|
attachable(anchor,spin, two_d=true, r=rr) {
|
||||||
zrot(realign? 180/sides : 0) circle(r=r, $fn=sides);
|
zrot(realign? 180/sides : 0) circle(r=rr, $fn=sides);
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,289];
|
BOSL_VERSION = [2,0,290];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue