mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-11 15:54:09 +02:00
Bugfix for oval() not properly using circum args.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user