mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Styles orig and aligned were swapped for sphere() module.
This commit is contained in:
parent
c2b3bb7792
commit
f3c69eb673
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue