You can create a 3D mesh of cubic or rectangular solid elements of identical size for use in additive manufacturing distortion simulations.
About Voxel Meshes Creating a Voxel Mesh