From be3dd53132facc3190d4fe5c82f770ebd70a6ae6 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Tue, 5 May 2020 15:27:25 -0700 Subject: [PATCH] Bugfix for oval() not properly using circum args. --- shapes2d.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shapes2d.scad b/shapes2d.scad index 5d4b20e..e685ea5 100644 --- a/shapes2d.scad +++ b/shapes2d.scad @@ -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(); } } diff --git a/version.scad b/version.scad index 4f76094..22f05a8 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,289]; +BOSL_VERSION = [2,0,290]; // Section: BOSL Library Version Functions