pyvista.BinaryMarchingCubesReader

pyvista.BinaryMarchingCubesReader#

class BinaryMarchingCubesReader(*args, **kwargs)[source]#

BinaryMarchingCubes Reader for .tri files.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_pine_roots(load=False)
>>> filename.split("/")[-1]  # omit the path
'pine_root.tri'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot(color="brown")
../../../_images/pyvista-BinaryMarchingCubesReader-1_00_00.png

Methods

Attributes