grain3d.load edit page

grain3d.load is a method to load 3d grain data

Description

Dream3d stores the boundary faces with an arbitrary winding, so the faces are oriented on import with orientFaces. See loadGrains_Dream3d.

Syntax

grains = grain3d.load('filepath/filename.tess','CS',CSList)
grains = grain3d.load('filepath/filename.dream3d')
grains = grain3d.load('filepath/filename.dream3d','noOrientFaces')

Input

fname filename
CSList list of crystal symmetries

Output

grain3d grain3d

Options

noOrientFaces dream3d only: keep the face winding as stored in the file

See also

loadNeperTess loadGrains_Dream3d grain3d.orientFaces grain2d.load