API Reference#

These are the two public classes that expose the meshfix API to Python. The pure Python python class is MeshFix, which requires pyvista. The lower level cython extension of meshfix is PyTMesh, which does not require pyvista.

pymeshfix.MeshFix(*args)

Clean and tetrahedralize surface meshes using MeshFix.

pymeshfix.PyTMesh

Cython class to interface with C++ Basic_TMesh object

Lower level convenience methods that expose the lower level functionality of meshfix without using pyvista.

pymeshfix.clean_from_file(infile, outfile[, ...])

Performs default cleaning procedure on an input file and writes to disk.

pymeshfix.clean_from_arrays(v, f[, verbose, ...])

Perform default cleaning procedure on vertex and face arrays.