_Element
- class compas_fea2.model._Element[source]
- Bases: - FEAData- Initialises a base Element object. - Parameters:
- nodeslist[compas_fea2.model.Node]
- Ordered list of node identifiers to which the element connects. 
- sectioncompas_fea2.model._Section
- Section Object assigned to the element. 
- implementationstr, optional
- The name of the backend model implementation of the element. 
 
- nodeslist[
- Attributes:
- keyint, read-only
- Identifier of the element in the parent part. 
- nodeslist[compas_fea2.model.Node]
- Nodes to which the element is connected. 
- nodes_keystr, read-only
- Identifier based on the connected nodes. 
- sectioncompas_fea2.model._Section
- Section object. 
- implementationstr
- The name of the backend model implementation of the element. 
- partcompas_fea2.model.Part| None
- The parent part. 
- on_boundarybool | None
- True if the element has a face on the boundary mesh of the part, False otherwise, by default None. 
- partcompas_fea2.model._Part, read-only
- The Part where the element is assigned. 
- modelcompas_fea2.model.Model, read-only
- The Model where the element is assigned. 
- areafloat, read-only
- The area of the element. 
- volumefloat, read-only
- The volume of the element. 
- rigidbool, read-only
- Define the element as rigid (no deformations allowed) or not. For Rigid elements sections are not needed. 
 
 - Warning - When an Element is added to a Part, the nodes of the elements are also added and registered to the same part. This might change the original registration of the nodes! - Notes - Elements and their nodes are registered to the same - compas_fea2.model._Partand can belong to only one Part.- 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.