pyvista.Plotter.export_obj#
- Plotter.export_obj(filename) None [source]#
Export scene to OBJ format.
- Parameters:
- filename
str
|Path
Filename to export the scene to. Must end in
'.obj'
.
- filename
Examples
Export the scene to “scene.obj”
>>> import pyvista as pv >>> pl = pv.Plotter() >>> _ = pl.add_mesh(pv.Sphere()) >>> pl.export_obj('scene.obj')