_Section1D
- class compas_fea2.model._Section1D[source]
Bases:
_SectionBase class for 1D sections.
- Attributes:
- Afloat
Cross section area.
- Ixxfloat
Inertia with respect to XX axis.
- Iyyfloat
Inertia with respect to YY axis.
- Ixyfloat
Inertia with respect to XY axis.
- Avxfloat
Shear area along x.
- Avyfloat
Shear area along y.
- Jfloat
Torsion modulus.
- g0float
Warping constant.
- gwfloat
Warping constant.
Methods
Compute the neutral axis slope and intercept for the section.
Compute normal and shear stresses at a given point.
Compute stress distribution over the section.
Plot the section and overlay the stress distribution along a general direction.
Visualize normal stress (σ) and optionally shear stresses (τ_x, τ_y) with the neutral axis.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.