Make staggered_sphere() have axis extrema vertices for all quant(,4)

This commit is contained in:
Revar Desmera 2019-04-26 13:37:16 -07:00
parent 44312d5236
commit 2f290ca108

View file

@ -977,7 +977,7 @@ module staggered_sphere(r=undef, d=undef, circum=false, orient=UP, anchor=CENTER
);
size = [2*rr, 2*rr, 2*rr];
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();
}
}