Styles orig and aligned were swapped for sphere() module.

This commit is contained in:
Revar Desmera 2020-05-22 00:55:08 -07:00
parent c2b3bb7792
commit f3c69eb673
2 changed files with 3 additions and 3 deletions

View file

@ -1164,14 +1164,14 @@ module spheroid(r, d, circum=false, style="aligned", anchor=CENTER, spin=0, orie
if (style=="orig") {
rotate_extrude(convexity=2,$fn=sides) {
difference() {
zrot(180/sides) oval(r=r, circum=circum, $fn=sides);
oval(r=r, circum=circum, $fn=sides);
left(r) square(2*r,center=true);
}
}
} else if (style=="aligned") {
rotate_extrude(convexity=2,$fn=sides) {
difference() {
oval(r=r, circum=circum, $fn=sides);
zrot(180/sides) oval(r=r, circum=circum, $fn=sides);
left(r) square(2*r,center=true);
}
}

View file

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