pyvista.BoxSource

Contents

pyvista.BoxSource#

class BoxSource(bounds=(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0), level=0, quads=True)[source]#

Create a box source.

Added in version 0.44.

Parameters:
boundssequence[float], default: (-1.0, 1.0, -1.0, 1.0, -1.0, 1.0)

Specify the bounds of the box. (x_min, x_max, y_min, y_max, z_min, z_max).

levelint, default: 0

Level of subdivision of the faces.

quadsbool, default: True

Flag to tell the source to generate either a quad or two triangle for a set of four points.

Methods

Attributes

BoxSource.bounds

Return or set the bounds of the box.

BoxSource.level

Get level of subdivision of the faces.

BoxSource.output

Get the output data object for a port on this algorithm.

BoxSource.quads

Flag to tell the source to generate either a quad or two triangle for a set of four points.