pyvista.STLReader#
- class STLReader(*args, **kwargs)[source]#
STL Reader for .stl files.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_cad_model(load=False) >>> filename.split("/")[-1] # omit the path '42400-IDGH.stl' >>> reader = pv.get_reader(filename) >>> mesh = reader.read() >>> mesh.plot()
Methods
Attributes