pyvista.ArrowSource#

class ArrowSource(
tip_length=0.25,
tip_radius=0.1,
tip_resolution=20,
shaft_radius=0.05,
shaft_resolution=20,
)[source]#

Create a arrow source.

Added in version 0.44.

Parameters:
tip_lengthfloat, default: 0.25

Length of the tip.

tip_radiusfloat, default: 0.1

Radius of the tip.

tip_resolutionint, default: 20

Number of faces around the tip.

shaft_radiusfloat, default: 0.05

Radius of the shaft.

shaft_resolutionint, default: 20

Number of faces around the shaft.

Methods

Attributes

ArrowSource.output

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

ArrowSource.shaft_radius

Get the radius of the shaft.

ArrowSource.shaft_resolution

Get the number of faces around the shaft.

ArrowSource.tip_length

Get the length of the tip.

ArrowSource.tip_radius

Get the radius of the tip.

ArrowSource.tip_resolution

Get the number of faces around the tip.