mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-20 03:19:39 +00:00
Make staggered_sphere() have axis extrema vertices for all quant(,4)
This commit is contained in:
parent
44312d5236
commit
2f290ca108
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ module staggered_sphere(r=undef, d=undef, circum=false, orient=UP, anchor=CENTER
|
||||||
);
|
);
|
||||||
size = [2*rr, 2*rr, 2*rr];
|
size = [2*rr, 2*rr, 2*rr];
|
||||||
orient_and_anchor(size, orient, anchor, geometry="sphere", chain=true) {
|
orient_and_anchor(size, orient, anchor, geometry="sphere", chain=true) {
|
||||||
polyhedron(points=pts, faces=faces);
|
zrot((floor(sides/4)%2==1)? 180/sides : 0) polyhedron(points=pts, faces=faces);
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue