loadGrains_Dream3d is a method to load 3d grain data from dream3d
Description
Dream3d does not store the boundary faces of a grain with a consistent winding, i.e., the normals computed from the vertex order point randomly into or out of the grain. The faces are therefore oriented on import with orientFaces, so that face normals, grain volumes and boundary.grainId are meaningful right away. Pass the option 'noOrientFaces' to get the raw winding as stored in the file.
Syntax
grains = grain3d.load('filepath/filename.dream3d','interface','dream3d')
grains = loadGrains_Dream3d('filepath/filename.dream3d')% keep the face winding exactly as stored in the file
grains = grain3d.load('filepath/filename.dream3d','noOrientFaces')Input
| fname | filename |
Output
| grain3d | grain3d |
Options
| noOrientFaces | do not orient the boundary faces after import |