TetrahedronElement
- class compas_fea2.model.TetrahedronElement[source]
- Bases: - _Element3D- A Solid element with 4 or 10 nodes. - Attributes:
- nodesList[“Node”]
- The list of nodes defining the element. 
 
 - Notes - This element can be either: - C3D4: A 4-node tetrahedral element. - C3D10: A 10-node tetrahedral element (with midside nodes). - Face labels (for the first 4 corner nodes) are: - S1: (0, 1, 2) - S2: (0, 1, 3) - S3: (1, 2, 3) - S4: (0, 2, 3) - The C3D10 element includes 6 additional midside nodes: - Edge (0,1) → Node 4 - Edge (1,2) → Node 5 - Edge (2,0) → Node 6 - Edge (0,3) → Node 7 - Edge (1,3) → Node 8 - Edge (2,3) → Node 9 - 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.