mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-28 17:00:11 +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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user