_Element1D
- class compas_fea2.model._Element1D[source]
Bases:
_ElementElement with 1 dimension.
- Parameters:
- nodeslist[
compas_fea2.model.Node] Ordered list of nodes to which the element connects.
- section
compas_fea2.model._Section Section Object assigned to the element.
- frame
compas.geometry.Frameor list Point defining the
- implementationstr, optional
The name of the backend model implementation of the element.
- rigidbool, optional
Define the element as rigid (no deformations allowed) or not. For Rigid elements sections are not needed.
- nodeslist[
- Attributes:
framecompas.geometry.FrameGet the local frame of the object.
lengthfloatElement length in the active length unit.
volumefloatElement volume (area × length) in the active unit system.
Notes
1D elements are used to model beams, bars, and trusses. They connect two nodes and have a section assigned. The local frame is defined by the start node, the end node, and an optional orientation point. The local z-axis is aligned with the element axis (from start to end node), and the local y-axis is defined by the vector from the start node to the orientation point. The local x-axis is computed as the cross product of the local y and z axes, ensuring a right-handed coordinate system.
Methods
Get the forces result for the element.
Get the moments result for the element.
Plot the stress distribution along the element.
Get the section forces result for the element. Parameters ---------- step :
compas_fea2.model.StepThe analysis step.Inherited Methods
Converts the instance to a string.
Clear the local frame, reverting to GLOBAL_FRAME.
Make an independent copy of the data object.
Return local axes expressed as global vectors (x, y, z).
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Return True if local frame coincides with GLOBAL frame within tolerance.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert a local point to the global frame.
Convert a local vector to the global frame.
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.
Convert a global point to the local frame.
Convert a global vector to the local frame.
Get the transformation from this object's local frame to another frame.
Validate the data against the object's data schema.