pymeshfix.MeshFix.save#
- MeshFix.save(filename, binary=True)#
Write a surface mesh to disk.
Written file may be in a ASCII or binary PLY, STL, or VTK format.
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. Can be one of the following types (.ply, .stl, .vtk)
binary (bool, default: True) – Filetype. Inferred from filename unless specified with a three character string. Can be one of the following:
'ply'
,'stl'
, or'vtk'
.
Notes
Binary files write much faster than ASCII.