concreteproperties.results.BiaxialBendingResults#
- class BiaxialBendingResults(n, results=<factory>)[source]#
Bases:
object
Class for storing biaxial bending results.
- Parameters
n (
float
) – Net axial forceresults (
List
[UltimateBendingResults
], default:<factory>
) – List of ultimate bending result objects
Methods
Returns a list and moments about the
x
andy
axes.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 combination of bending moments lies within the biaxial bending diagram.
Attributes
n
results
- get_results_lists()[source]#
Returns a list and moments about the
x
andy
axes.- Returns
Tuple
[List
[float
],List
[float
]] – List of axial forces and moments (mx, my)
- plot_diagram(m_scale=1e-06, fmt='o-', **kwargs)[source]#
Plots a biaxial bending diagram.
- Parameters
m_scale (
float
, default:1e-06
) – Scaling factor to apply to bending momentfmt (
str
, default:'o-'
) – Plot format stringkwargs – Passed to
plotting_context()
- Returns
Axes
– Matplotlib axes object
- static plot_multiple_diagrams_2d(biaxial_bending_results, labels=None, m_scale=1e-06, fmt='o-', **kwargs)[source]#
Plots multiple biaxial bending diagrams in a 2D plot.
- Parameters
biaxial_bending_results (
List
[BiaxialBendingResults
]) – List of biaxial bending results objectslabels (
Optional
[List
[str
]], default:None
) – List of labels for each biaxial bending diagram, if not provided labels are axial forcesm_scale (
float
, default:1e-06
) – Scaling factor to apply to bending momentfmt (
str
, default:'o-'
) – Plot format stringkwargs – Passed to
plotting_context()
- Returns
Axes
– Matplotlib axes object
- static plot_multiple_diagrams_3d(biaxial_bending_results, n_scale=0.001, m_scale=1e-06, fmt='-')[source]#
Plots multiple biaxial bending diagrams in a 3D plot.
- Parameters
biaxial_bending_results (
List
[BiaxialBendingResults
]) – List of biaxial bending results objectsn_scale (
float
, default:0.001
) – Scaling factor to apply to axial forcem_scale (
float
, default:1e-06
) – Scaling factor to apply to bending momentfmt (
str
, default:'-'
) – Plot format string
- Returns
Axes
– Matplotlib axes object
- point_in_diagram(m_x, m_y)[source]#
Determines whether or not the combination of bending moments lies within the biaxial bending diagram.
- Parameters
m_x (
float
) – Bending moment about the x-axism_y (
float
) – Bending moment about the y-axis
- Returns
bool
– True, if combination of bendings moments is within the diagram