mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-02 01:20:17 +02:00
Styles orig and aligned were swapped for sphere() module.
This commit is contained in:
@@ -1164,14 +1164,14 @@ module spheroid(r, d, circum=false, style="aligned", anchor=CENTER, spin=0, orie
|
|||||||
if (style=="orig") {
|
if (style=="orig") {
|
||||||
rotate_extrude(convexity=2,$fn=sides) {
|
rotate_extrude(convexity=2,$fn=sides) {
|
||||||
difference() {
|
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);
|
left(r) square(2*r,center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (style=="aligned") {
|
} else if (style=="aligned") {
|
||||||
rotate_extrude(convexity=2,$fn=sides) {
|
rotate_extrude(convexity=2,$fn=sides) {
|
||||||
difference() {
|
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);
|
left(r) square(2*r,center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,317];
|
BOSL_VERSION = [2,0,318];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
Reference in New Issue
Block a user