get_directions_plotter#

ansys.acp.core.get_directions_plotter(*, model, components, culling_factor=1, length_factor=1.0, **kwargs)#

Get a pyvista plotter that shows the specified directions on the mesh.

Parameters:
  • model (Model) – ACP Model.

  • components (Sequence[Optional[VectorData]]) – List of components to plot.

  • culling_factor (int, default: 1) – If set to a value other than 1, add only every n-th data point to the PyVista object. This is useful especially for vector data, where the arrows can be too dense.

  • length_factor (float, default: 1.0) – Factor to scale the length of the arrows.

  • kwargs (Any) – Keyword arguments passed to the PyVista object constructor.

Return type:

Plotter