Bugfix for oval() not properly using circum args.

This commit is contained in:
Revar Desmera 2020-05-05 15:27:25 -07:00
parent ca1d46d641
commit be3dd53132
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}
}

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,289];
BOSL_VERSION = [2,0,290];
// Section: BOSL Library Version Functions