mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-29 11:29:56 +02:00
Renamed place_copies() to move_copies()
This commit is contained in:
@@ -9,17 +9,17 @@ if (true) {
|
||||
// Display of all solids with insphere, midsphere and circumsphere
|
||||
|
||||
for(i=[0:len(_polyhedra_)-1]) {
|
||||
place_copies([[3*i,0,0]]) // Plain polyhedron
|
||||
move_copies([[3*i,0,0]]) // Plain polyhedron
|
||||
regular_polyhedron(index=i, mr=1,facedown=true);
|
||||
place_copies([[3*i,3.5,0]]){ // Inner radius means sphere touches faces of the polyhedron
|
||||
move_copies([[3*i,3.5,0]]){ // Inner radius means sphere touches faces of the polyhedron
|
||||
sphere(r=1.005); // Sphere is slightly oversized so you can see it poking out from each face
|
||||
%regular_polyhedron(index=i, ir=1,facedown=true);
|
||||
}
|
||||
place_copies([[3*i,7,0]]){ // Mid radius means the sphere touches the center of each edge
|
||||
move_copies([[3*i,7,0]]){ // Mid radius means the sphere touches the center of each edge
|
||||
sphere(r=1);
|
||||
%regular_polyhedron(index=i, mr=1,facedown=true);
|
||||
}
|
||||
place_copies([[3*i,11,0]]){ // outer radius means points of the polyhedron are on the sphere
|
||||
move_copies([[3*i,11,0]]){ // outer radius means points of the polyhedron are on the sphere
|
||||
%sphere(r=.99); // Slightly undersized sphere means the points poke out a bit
|
||||
regular_polyhedron(index=i, or=1,facedown=true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user