N2PNode#

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

Bases: object

Class with the information of a node/grid.

ID#

int.

PartID#

str.

AnalysisCoordSys#

int.

PositionCoordSys#

int.

GlobalCoords#

tuple.

LocalCoords#

tuple.

X#

float.

Y#

float.

Z#

float.

Term1#

float.

Term2#

float.

Term3#

float.

SPCNode#

int.

property AnalysisCoordSys: int#

Returns the out_coord_sys of the node/grid.

property Connectivity: list[N2PElement, N2PConnector, ...]#

Returns the N2PElements and N2PConnector that the node is connected to

property GlobalCoords: tuple[float]#

Returns the global coordinates of the node/grid.

property ID: int#

Returns the id (which the solver uses) of the node/grid.

property InternalID: int#

Returns the VTKindice of the node/grid.

property LocalCoords: tuple[float]#

Returns the local coordinates of the node/grid.

property PartID: str#

Returns the partID of the node/grid.

property PositionCoordSys: int#

Returns the in_coord_sys of the node/grid.

property SPCNode: int#

Returns the constr_flag of the node/grid.

property Term1: float#

Returns the first cordinate of the local system of the node/grid.

property Term2: float#

Returns the second cordinate of the local system of the node/grid.

property Term3: float#

Returns the third cordinate of the local system of the node/grid.

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

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

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

property X: float#

Returns the x coordinate of the node/grid.

property Y: float#

Returns the y coordinate of the node/grid.

property Z: float#

Returns the z coordinate of the node/grid.