Renamed place_copies() to move_copies()

This commit is contained in:
Revar Desmera
2020-03-24 18:31:22 -07:00
parent 6183e6d0d2
commit 971c1e795f
13 changed files with 45 additions and 46 deletions

View File

@@ -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);
}