Skip to content

MeshData

Canonical path: NemAll_Python_Reinforcement.MeshData

Implementation of the mesh data

AsBendingDirection property

AsBendingDirection: float

Get the as in bending direction

AsCross property

AsCross: float

Get the as in cross direction

AsLongitudinal property

AsLongitudinal: float

Get the as in longitudinal direction

DiameterCross property

DiameterCross: float

Get the diameter in cross direction

DiameterLongitudinal property

DiameterLongitudinal: float

Get the diameter in longitudinal direction

DistanceBendingDirection property

DistanceBendingDirection: float

Get the distance in bending direction

DistanceCross property

DistanceCross: float

Get the distance in cross direction

DistanceLongitudinal property

DistanceLongitudinal: float

Get the distance in longitudinal direction

IsDoubleBarCross property

IsDoubleBarCross: bool

Get the double bar state in cross direction

IsDoubleBarLongitudinal property

IsDoubleBarLongitudinal: bool

Get the double bar state in longitudinal direction

Label property

Label: str

Get the mesh label

Length property

Length: float

Get the mesh length

OverlapBendingDirection property

OverlapBendingDirection: float

Get the overlap in bending direction

OverlapCross property

OverlapCross: float

Get the overlap in cross direction

OverlapLongitudinal property

OverlapLongitudinal: float

Get the overlap in longitudinal direction

Type property writable

Type: str

Get the mesh type

Weight property

Weight: float

Get the mesh weight

Width property

Width: float

Get the mesh width

CreateLabel

CreateLabel()

Create the label

Format staticmethod

Format(type: str, length: float, width: float) -> str

Get the mesh text

Parameters:

  • type (str) –

    Mesh type

  • length (float) –

    Mesh length

  • width (float) –

    Mesh width

Returns:

  • str

    Mesh text

GetAsBendingDirection

GetAsBendingDirection(bendingDirection: MeshBendingDirection) -> float

Get the as in bending direction

Parameters:

Returns:

  • float

    As in bending direction

GetDiameterBendingDirection

GetDiameterBendingDirection(
    bendingDirection: MeshBendingDirection,
) -> tuple[float, bool]

Get the diameter in bending direction

Parameters:

Returns:

  • tuple[float, bool]

    tuple(Diameter in bending direction, Double bar state)

GetDimensions

GetDimensions() -> tuple[float, float]

Get the mesh dimensions

Returns:

  • tuple[float, float]

    tuple(Mesh length, Mesh width)

GetDistanceBendingDirection

GetDistanceBendingDirection(bendingDirection: MeshBendingDirection) -> float

Get the distance in bending direction

Parameters:

Returns:

  • float

    Distance in bending direction

GetOverlapBendingDirection

GetOverlapBendingDirection(bendingDirection: MeshBendingDirection) -> float

Get the overlap in bending direction

Parameters:

Returns:

  • float

    Overlap in bending direction

SetType

SetType(type: str)

Set the mesh type

Parameters:

  • type (str) –

    Mesh type

__init__ overloaded

__init__()

Initialize

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

Constructor

Parameters:

  • type (str) –

    Mesh type

  • length (float) –

    Mesh length

  • width (float) –

    Mesh width

  • diameterLongitudinal (float) –

    Diameter in longitudinal direction

  • diameterCross (float) –

    Diameter in cross direction

  • asLongitudinal (float) –

    As in longitudinal direction

  • asCross (float) –

    As in cross direction

  • distanceLongitudinal (float) –

    Distance in longitudinal direction

  • distanceCross (float) –

    Distance in cross direction

  • bDoubleBarLongitudinal (bool) –

    Double bar in longitudinal direction

  • bDoubleBarCross (bool) –

    Double bar in cross direction

  • overlapLongitudinal (float) –

    Overlap in longitudinal direction

  • overlapCross (float) –

    Overlap in cross direction

  • weight (float) –

    Mesh weight

__init__(element: MeshData)

Copy constructor

Parameters:

  • element (MeshData) –

    Element to copy

Placeholder