vorlap.graphics module

vorlap.graphics.calc_structure_vectors_andplot(components: List[Component], viv_params: VIV_Params, show_plot: bool = True, return_fig: bool = False)[source]

Calculate structure vectors and create a 3D visualization plot.

Parameters:
  • components – List of structural components.

  • viv_params – Configuration parameters.

  • show_plot – Whether to display the plot (default: True).

  • return_fig – Whether to return the figure object (default: False).

Returns:

Plotly figure object if return_fig=True, otherwise None.