Closed imikejackson closed 11 years ago
DREAM.3D monitors the size of each dimension (x,y,z) and if any are equal to 1, then the statistics calculated will consider teh volume as 2D, no matter what value you entered for the spacing in that dimension. For example, the Find Field Sizes filter will report Areas and Equivalent Circle Diameters rather than Volumes and Equivalent Sphere Diameters if one of the dimensions is 1.
To be fair though, the code should not crash due to 0 being entered.
This filter crashes Dream3D if you enter a value of 0 for the z-spacing. We often start with 2D datasets in our modeling efforts and thus import only a single slice with no depth. It would be nice to add the ability to have a zero depth for 2D problems. If this is not possible, an error message within the program would be better than a full crash.