mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-10 23:54:02 +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);
|
||||
rr = circum? r/cos(180/sides) : r;
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
@@ -8,7 +8,7 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,289];
|
||||
BOSL_VERSION = [2,0,290];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
Reference in New Issue
Block a user