Skip to content

Mesh Data

Class full path: NemAll_Python_Reinforcement.MeshData

Implementation of the mesh data

Attributes

AsBendingDirection: float property

Get the as in bending direction

AsCross: float property

Get the as in cross direction

AsLongitudinal: float property

Get the as in longitudinal direction

DiameterCross: float property

Get the diameter in cross direction

DiameterLongitudinal: float property

Get the diameter in longitudinal direction

DistanceBendingDirection: float property

Get the distance in bending direction

DistanceCross: float property

Get the distance in cross direction

DistanceLongitudinal: float property

Get the distance in longitudinal direction

IsDoubleBarCross: bool property

Get the double bar state in cross direction

IsDoubleBarLongitudinal: bool property

Get the double bar state in longitudinal direction

Label: str property

Get the mesh label

Length: float property

Get the mesh length

OverlapBendingDirection: float property

Get the overlap in bending direction

OverlapCross: float property

Get the overlap in cross direction

OverlapLongitudinal: float property

Get the overlap in longitudinal direction

Type: str property writable

Get the mesh type

Weight: float property

Get the mesh weight

Width: float property

Get the mesh width

Functions

CreateLabel()

Create the label

Format(type, length, width) staticmethod

Get the mesh text

Parameters:

Name Type Description Default
type str

Mesh type

required
length float

Mesh length

required
width float

Mesh width

required

Returns:

Type Description
str

Mesh text

GetAsBendingDirection(bendingDirection)

Get the as in bending direction

Parameters:

Name Type Description Default
bendingDirection MeshBendingDirection

Bending direction

required

Returns:

Type Description
float

As in bending direction

GetDiameterBendingDirection(bendingDirection)

Get the diameter in bending direction

Parameters:

Name Type Description Default
bendingDirection MeshBendingDirection

Bending direction

required

Returns:

Type Description
float

tuple(Diameter in bending direction,

bool

Double bar state)

GetDimensions()

Get the mesh dimensions

Returns:

Type Description
float

tuple(Mesh length,

float

Mesh width)

GetDistanceBendingDirection(bendingDirection)

Get the distance in bending direction

Parameters:

Name Type Description Default
bendingDirection MeshBendingDirection

Bending direction

required

Returns:

Type Description
float

Distance in bending direction

GetOverlapBendingDirection(bendingDirection)

Get the overlap in bending direction

Parameters:

Name Type Description Default
bendingDirection MeshBendingDirection

Bending direction

required

Returns:

Type Description
float

Overlap in bending direction

SetType(type)

Set the mesh type

Parameters:

Name Type Description Default
type str

Mesh type

required

__init__ overload

__init__()

Initialize

__init__(type, length, width, diameterLongitudinal, diameterCross, asLongitudinal, asCross, distanceLongitudinal, distanceCross, bDoubleBarLongitudinal, bDoubleBarCross, overlapLongitudinal, overlapCross, weight)

Constructor

Parameters:

Name Type Description Default
type str

Mesh type

required
length float

Mesh length

required
width float

Mesh width

required
diameterLongitudinal float

Diameter in longitudinal direction

required
diameterCross float

Diameter in cross direction

required
asLongitudinal float

As in longitudinal direction

required
asCross float

As in cross direction

required
distanceLongitudinal float

Distance in longitudinal direction

required
distanceCross float

Distance in cross direction

required
bDoubleBarLongitudinal bool

Double bar in longitudinal direction

required
bDoubleBarCross bool

Double bar in cross direction

required
overlapLongitudinal float

Overlap in longitudinal direction

required
overlapCross float

Overlap in cross direction

required
weight float

Mesh weight

required
__init__(element)

Copy constructor

Parameters:

Name Type Description Default
element MeshData

Element to copy

required