m3sh.hds.Mesh.

from_OFF#

classmethod Mesh.from_OFF(filename, *args, quiet=False)#

Read from OFF file.

Added in version 1.1.0.

Read mesh combinatorics (face definitions) and vertex coordinates from an OFF file.

Parameters:
filenamestr

Name of OFF file.

*args

Variable number of arguments. Currently all arguments are ignored.

quietbool, optional

Suppress console output if True.

Returns:
meshMesh

Mesh instance. Reading fails if mesh combinatorics do not represent an orientable manifold surface mesh.

data

A None value for each data block requested via args.