BiaxialBendingResults¶
- class concreteproperties.results.BiaxialBendingResults(default_units: UnitDisplay, n: float, results: list[UltimateBendingResults] = <factory>)[source]¶
Bases:
objectClass for storing biaxial bending results.
- Parameters:
default_units (UnitDisplay) – Default units to use for reporting
n (float) – Net axial force
results (list[UltimateBendingResults]) – List of ultimate bending result objects
Methods
Returns a list and moments about the
xandyaxes.Plots a biaxial bending diagram.
Plots multiple biaxial bending diagrams in a 2D plot.
Plots multiple biaxial bending diagrams in a 3D plot.
Determines whether or not the design point lies within the biaxial diagram.
Attributes
default_unitsnresults- get_results_lists() tuple[list[float], list[float]][source]¶
Returns a list and moments about the
xandyaxes.
- plot_diagram(fmt: str = 'o-', eng: bool = False, prec: int = 2, units: UnitDisplay | None = None, **kwargs) matplotlib.axes.Axes[source]¶
Plots a biaxial bending diagram.
- Parameters:
fmt (str) – Plot format string. Defaults to
"o-".eng (bool) – If set to
True, formats the plot ticks with engineering notation. If set toFalse, uses the defaultmatplotlibticker formatting. Defaults toFalse.prec (int) – If
eng=True, sets the desired precision of the ticker formatting (i.e. one plus this value is the desired number of digits). Defaults to2.units (UnitDisplay | None) – Unit system to display. Defaults to
None.kwargs – Passed to
plotting_context()
- Returns:
Matplotlib axes object
- Return type:
- static plot_multiple_diagrams_2d(biaxial_bending_results: list[BiaxialBendingResults], labels: list[str] | None = None, fmt: str = 'o-', eng: bool = False, prec: int = 2, units: UnitDisplay | None = None, **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. Defaults to
None.fmt (str) – Plot format string. Defaults to
"o-".eng (bool) – If set to
True, formats the plot ticks with engineering notation. If set toFalse, uses the defaultmatplotlibticker formatting. Defaults toFalse.prec (int) – If
eng=True, sets the desired precision of the ticker formatting (i.e. one plus this value is the desired number of digits). Defaults to2.units (UnitDisplay | None) – Unit system to display. Defaults to
None.kwargs – Passed to
plotting_context()
- Returns:
Matplotlib axes object
- Return type:
- static plot_multiple_diagrams_3d(biaxial_bending_results: list[BiaxialBendingResults], fmt: str = '-', eng: bool = False, prec: int = 2, units: UnitDisplay | None = None) 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
fmt (str) – Plot format string. Defaults to
"-".eng (bool) – If set to
True, formats the plot ticks with engineering notation. If set toFalse, uses the defaultmatplotlibticker formatting. Defaults toFalse.prec (int) – If
eng=True, sets the desired precision of the ticker formatting (i.e. one plus this value is the desired number of digits). Defaults to2.units (UnitDisplay | None) – Unit system to display. Defaults to
None.
- Returns:
Matplotlib axes object
- Return type: