N2PElement#

class NaxToPy.Core.Classes.N2PElement.N2PElement(info, model_father)[source]#

Bases: object

Class with the information of an element.

property AngleMat: float#

Angle of the material of the element.

property Centroid: list[float, ...]#

[x, y, z]

Type:

Returns list with the centroid of the element

property ElemSystemArray: list[float, ...]#

Returns an array with the position of the three vectors that define the element system of the element: [x1, x2, x3, y1, y2, y3, z1, z2, z3]

property ID: int#

ID of the element.

property InternalElemType: int#

Internal element type.

property InternalID: int#

Internal ID of the element.

property MaterialSystemArray: list[float, ...]#

Returns list with the position of the three vectors that define the material system of the element: [x1, x2, x3, y1, y2, y3, z1, z2, z3]

property Nodes: tuple[N2PNode]#

Nodes (N2PNode) of the element.

property NodesIds: tuple#

Nodes IDs of the element.

property NumNodes: int#

Number of nodes of the element.

property PartID: str#

Part ID of the element.

property Prop: tuple[int, str] | tuple[str, str]#

Property of the element.

property TypeElement: str#

Type of the element.

property UserSystemArray: list[float, ...]#

Returns list with the position of the three vectors that define the user system of the element: [x1, x2, x3, y1, y2, y3, z1, z2, z3]

If no user systems for elements are defined yet, it returns None.