ISection.compute_neutral_axis

ISection.compute_neutral_axis(N=0.0, Mx=0.0, My=0.0)[source]

Compute the neutral axis slope and intercept for the section.

Parameters:
Nfloat, optional

Axial force (default is 0.0).

Mxfloat, optional

Bending moment about the x-axis (default is 0.0).

Myfloat, optional

Bending moment about the y-axis (default is 0.0).

Returns:
tuple

Slope of the neutral axis (dy/dx) or None for vertical axis, intercept of the neutral axis in local coordinates.

Raises:
ValueError

If the neutral axis is undefined for pure axial load.