0
$\begingroup$

I wrote

Graphics3D[{Opacity[.9], FaceForm[Yellow], PolyhedronData["Dipyramid", "Faces"]}]

and I get this picture:

decahedron

I would like to plot a decahedron without any defects on its surface. How can I do this?

Thanks!

$\endgroup$
2
  • $\begingroup$ Try Graphics3D[{Opacity[1], FaceForm[Yellow], PolyhedronData[{"Dipyramid", 5}, "Faces"]}] $\endgroup$
    – ciao
    Mar 5, 2014 at 1:32
  • $\begingroup$ You're using a composite of all dipyramids, I think. Use PolyhedronData[{"Dipyramid", 5}] $\endgroup$
    – rm -rf
    Mar 5, 2014 at 1:33

1 Answer 1

2
$\begingroup$

As said in my comment, you need to specify which you want, as in:

Graphics3D[{Opacity[1], FaceForm[Yellow],    PolyhedronData[{"Dipyramid", 5}, "Faces"]}]

You can query for details of available incarnations with:

PolyhedronData["Dipyramid"]

(* {{"Dipyramid", 3}, {"Dipyramid", 5}, "Octahedron"} *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.