pymeshfix.MeshFix.mesh#
- property MeshFix.mesh#
Return the surface mesh.
- Returns:
Surface mesh as a PolyData object.
- Return type:
pyvista.PolyData
Examples
Create a meshfix object from a pyvista mesh.
>>> from pyvista import examples >>> from pymeshfix import MeshFix >>> cow = examples.download_cow() >>> mfix = MeshFix(cow) >>> mfix.mesh PolyData (0x7fa3c735f8e0) N Cells: 5804 N Points: 2903 N Strips: 0 X Bounds: -4.446e+00, 5.998e+00 Y Bounds: -3.637e+00, 2.760e+00 Z Bounds: -1.701e+00, 1.701e+00 N Arrays: 0
Access the underlying mesh and plot it.
>>> mfix.mesh.plot()
Access the underlying mesh and export it.
>>> mfix.mesh.save("my_mesh.ply")