SpringElement
- class compas_fea2.model.SpringElement[source]
Bases:
_Element0DA 0D spring element.
Notes
Link elements are used within a part. If you want to connect nodes from different parts use
compas_fea2.model.connectors.RigidLinkConnector.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.