pyvista.BYUReader#
- class BYUReader(*args, **kwargs)[source]#
BYU Reader for .g files.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_teapot(load=False) >>> filename.split("/")[-1] # omit the path 'teapot.g' >>> reader = pv.get_reader(filename) >>> mesh = reader.read() >>> mesh.plot(cpos='xy', show_scalar_bar=False)
Methods
Attributes