The topic has a script to carve a trapezoidal prism out of a block of material, simply by deleting atom outside the interior. You could do the same for a decahedron.

However, there are many different decahedra (32300). Did you mean dodecahedron instead? This is a platonic solid, for which there are simple equations for the interior (see here)

Attached is a version of the script to create a dodecahedron, applied to pyrite (FeS2):

reinierHi Z,

The topic

has a script to carve a trapezoidal prism out of a block of material, simply by deleting atom outside the interior. You could do the same for a decahedron.However, there are many different decahedra (32300). Did you mean

dodecahedron instead? This is a platonic solid, for which there are simple equations for the interior (see here)Attached is a version of the script to create a dodecahedron, applied to pyrite (FeS2):

Enjoy,

Reinier