I know how to put a sphere inside a dodecahedron but instead of a sphere I would like it to be another dodecahedron. How can I do it?

Graphics3D[{{Opacity[.3], FaceForm[Yellow],

PolyhedronData[“Dodecahedron”, “Faces”]}, Brown, Sphere[{0, 0, 0}],

Boxed -> False}]

=================

2

Graphics3D[{{Opacity[.3], FaceForm[Yellow], Scale[PolyhedronData[“Dodecahedron”, “Faces”], #] & /@ Range[.1, 1, .1]}}]

– Kuba

Mar 26 ’14 at 22:24

=================

1 Answer

1

=================

Kuba has identified the missing piece of the puzzle in his comment, Scale. With Scale you can make the dodecahedron smaller or larger. Other than that it’s just a matter of replacing Sphere.

Graphics3D[{{Opacity[.3], FaceForm[Yellow],

PolyhedronData[“Dodecahedron”, “Faces”]}, Brown,

Scale[PolyhedronData[“Dodecahedron”, “Faces”], 0.5]},Boxed -> False]

Note where I placed Boxed. You include Boxed -> False but because its position is wrong it doesn’t actually do anything in your example.