pymeshfix.MeshFix.save#

MeshFix.save(filename: str | Path, binary=True)#

Write the points and faces as a surface mesh to disk using PyVista.

This is a a simple wrapper for :pyvista:`pyvista.PolyData.save`.

Parameters:
  • filename (str) –

    Filename of mesh to be written. Filetype is inferred from the extension of the filename unless overridden with ftype. Generally one of the following types:

    • ".ply"

    • ".stl"

    • ".vtk"

  • binary (bool, default: True) – Write the file using a binary writer. Binary files read and write much faster than ASCII.