pymeshfix.PyTMesh.load_file#
- PyTMesh.load_file(filename)#
Loads mesh from file
Currently, the following file formats are supported: Open Inventor (IV), VRML 1.0 and 2.0 (WRL), Object File Format (OFF), IMATI Ver-Tri (VER, TRI), PLY, OBJ, STL.
The loader automatically reconstructs a manifold triangle connectivity
Examples
>>> from pymeshfix import _meshfix >>> tin = _meshfix.PyTMesh() >>> tin.LoadFile('file.ply')