BiaxialBendingResults#

class concreteproperties.results.BiaxialBendingResults(n: float, results: list[~concreteproperties.results.UltimateBendingResults] = <factory>)[source]#

Bases: object

Class for storing biaxial bending results.

Parameters:

Methods

get_results_lists

Returns a list and moments about the x and y axes.

plot_diagram

Plots a biaxial bending diagram.

plot_multiple_diagrams_2d

Plots multiple biaxial bending diagrams in a 2D plot.

plot_multiple_diagrams_3d

Plots multiple biaxial bending diagrams in a 3D plot.

point_in_diagram

Determines whether or not the design point lies within the biaxial diagram.

Attributes

n

results

get_results_lists() tuple[list[float], list[float]][source]#

Returns a list and moments about the x and y axes.

Returns:

List of axial forces and moments (mx, my)

Return type:

tuple[list[float], list[float]]

plot_diagram(m_scale: float = 1e-06, fmt: str = 'o-', **kwargs) matplotlib.axes.Axes[source]#

Plots a biaxial bending diagram.

Parameters:
  • m_scale (float) – Scaling factor to apply to bending moment

  • fmt (str) – Plot format string

  • kwargs – Passed to plotting_context()

Returns:

Matplotlib axes object

Return type:

matplotlib.axes.Axes

static plot_multiple_diagrams_2d(biaxial_bending_results: list[BiaxialBendingResults], labels: list[str] | None = None, m_scale: float = 1e-06, fmt: str = 'o-', **kwargs) matplotlib.axes.Axes[source]#

Plots multiple biaxial bending diagrams in a 2D plot.

Parameters:
  • biaxial_bending_results (list[BiaxialBendingResults]) – List of biaxial bending results objects

  • labels (list[str] | None) – List of labels for each biaxial bending diagram, if not provided labels are axial forces

  • m_scale (float) – Scaling factor to apply to bending moment

  • fmt (str) – Plot format string

  • kwargs – Passed to plotting_context()

Returns:

Matplotlib axes object

Return type:

matplotlib.axes.Axes

static plot_multiple_diagrams_3d(biaxial_bending_results: list[BiaxialBendingResults], n_scale: float = 0.001, m_scale: float = 1e-06, fmt: str = '-') matplotlib.axes.Axes[source]#

Plots multiple biaxial bending diagrams in a 3D plot.

Parameters:
  • biaxial_bending_results (list[BiaxialBendingResults]) – List of biaxial bending results objects

  • n_scale (float) – Scaling factor to apply to axial force

  • m_scale (float) – Scaling factor to apply to bending moment

  • fmt (str) – Plot format string

Returns:

Matplotlib axes object

Return type:

matplotlib.axes.Axes

point_in_diagram(m_x: float, m_y: float) bool[source]#

Determines whether or not the design point lies within the biaxial diagram.

Parameters:
  • m_x (float) – Bending moment about the x-axis

  • m_y (float) – Bending moment about the y-axis

Returns:

True, if combination of bendings moments is within the diagram

Return type:

bool