pyvista.PlatonicSolidSource#
- class PlatonicSolidSource(kind='tetrahedron')[source]#
Platonic solid source algorithm class.
Added in version 0.44.0.
- Parameters:
Examples
Create and plot a dodecahedron.
>>> import pyvista as pv >>> dodeca = pv.PlatonicSolidSource('dodecahedron') >>> dodeca.output.plot(categories=True)
See Platonic Solids for more examples using this filter.
Methods
Attributes
Get the kind of Platonic solid to create.
Get the output data object for a port on this algorithm.