N2PElement#

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

Bases: object

Class with the information of an element.

ID#

int.

PartID#

str.

NumNodes#

int.

Nodes#

tuple[N2PNode].

Prop#

int.

TypeElement#

str.

NodesIds#

tuple[int].

AngleMat#

float.

InternalID#

int.

InternalElemType#

str.

ElemSystem#

list[float].

property AngleMat: float#
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#
property InternalElemType: int#
property InternalID: int#
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]#
property NodesIds: tuple#
property NumNodes: int#
property PartID: str#
property Prop: tuple[int, str] | tuple[str, str]#
property TypeElement: str#
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.