ClipPlane#

class ansys.tools.visualization_interface.utils.clip_plane.ClipPlane(normal: Tuple[float, float, float] = (1, 0, 0), origin: Tuple[float, float, float] = (0, 0, 0))#

Provides the clipping plane for clipping meshes in the plotter.

The clipping plane is defined by both normal and origin vectors.

Parameters:
normalTuple[float, float, float], default: (1, 0, 0)

Normal of the plane.

originTuple[float, float, float], default: (0, 0, 0)

Origin point of the plane.

Overview#

normal

Normal of the plane.

origin

Origin of the plane.

Import detail#

from ansys.tools.visualization_interface.utils.clip_plane import ClipPlane

Property detail#

property ClipPlane.normal: Tuple[float, float, float]#

Normal of the plane.

Returns:
Tuple[float, float, float]

Normal of the plane.

property ClipPlane.origin: Tuple[float, float, float]#

Origin of the plane.

Returns:
Tuple[float, float, float]

Origin of the plane.