This script will generate a simple Dodecahedron with the materials and dimensions that you give it.
The Dodecahedron is not a Mesh but a hierarchy of gameobjects. GameObjects that represent the nodes ( simple spheres unless you specify otherwise ) and simple LineRenderers for the lines that connect the nodes.