m3sh.off.

read#

read(filename, quiet=True)#

Read from OFF file.

Parameters:
filenamestr

Name of OFF file.

quietbool, optional

Pass False to print comments and summary.

Returns:
vertslist

List of vertex definitions. Each vertex is a list of three scalars that define vertex coordinates in 3-space.

faceslist

List of face definitions. Each face is a list integers.