Skip to content

ReinforcementSettings

Canonical path: NemAll_Python_Reinforcement.ReinforcementSettings

Implementation of Reinforcement settings

Methods:

CheckBarDiameter staticmethod

CheckBarDiameter(diameter: float) -> float

Check, whether the diameter is included in the diameter list of the current steel grade

Parameters:

  • diameter (float) –

    Bar diameter to check

Returns:

  • float

    Bar diameter (original or nearest value)

CheckMeshGroup staticmethod

CheckMeshGroup(meshGroup: int) -> int

Check, whether the mesh group is included in the group list

Returns:

  • int

    Mesh group (original or first)

GetBarDiameter staticmethod

GetBarDiameter() -> float

Get the current bar diameter

Returns:

  • float

    Bar diameter

GetBarDiameters staticmethod

GetBarDiameters() -> tuple[list[float], list[str]]

Get the available bar diameters

Returns:

  • tuple[list[float], list[str]]

    Tuple containing list of diameter values and list of diameter names

GetBarFactorForDiameter staticmethod

GetBarFactorForDiameter() -> float

Get Factor for Diameter

Returns:

  • float

    Factor for Diameter

Examples:

>>> ReinforcementSettings.GetBarFactorForDiameter()
1.0

GetBarWeight staticmethod

GetBarWeight(steelGrade: int, barDiameter: float) -> float

Get the weight for a bar diameter

Parameters:

  • steelGrade (int) –

    Steel grade

  • barDiameter (float) –

    Bar diameter

Returns:

  • float

    Weight for a bar diameter

GetBendingRoller staticmethod

GetBendingRoller() -> float

Get the current bending roller

Returns:

  • float

    Bending roller

GetConcreteCoverPredefinedValues staticmethod

GetConcreteCoverPredefinedValues() -> list[float]

Get the predefined values for the concrete cover

Returns:

  • list[float]

    List with the concrete cover values

GetConcreteGrade staticmethod

GetConcreteGrade() -> int

Get the current concrete grade

Returns:

  • int

    Concrete grade

GetConcreteGradesForNorm staticmethod

GetConcreteGradesForNorm(NormID: int) -> list[tuple[int, str]]

Get the concrete grades for norm

Parameters:

  • NormID (int) –

    Norm ID or -1 if the current norm should be used

Returns:

  • list[tuple[int, str]]

    List with the concrete grades for Norm as tuple[ID, Name]

GetEngCatCrossSections staticmethod

GetEngCatCrossSections() -> list[EngCatCrossSection]

Get the cross sections from engineering catalog

Returns:

GetEngCatDiameters staticmethod

GetEngCatDiameters(EngCatSteel: EngCatSteel) -> list[EngCatDiameter]

Get the diameters for cross section

Returns:

GetEngCatMeshGroups staticmethod

GetEngCatMeshGroups() -> list[EngCatMeshGroup]

Get the mesh groups from engineering catalog

Returns:

GetEngCatMeshes staticmethod

GetEngCatMeshes(EngCatMeshGroup: EngCatMeshGroup) -> list[EngCatMesh]

Get the meshes for cross section

Returns:

  • list[EngCatMesh]

    List with the concrete cross sections

GetEngCatSteels staticmethod

GetEngCatSteels() -> list[EngCatSteel]

Get the steels from engineering catalog

Returns:

GetMaxBarLength staticmethod

GetMaxBarLength() -> float

Get the maximal bar length

Returns:

  • float

    Maximal bar length

GetMeshCutOffPlacementLimit staticmethod

GetMeshCutOffPlacementLimit() -> float

Get the limit

Returns:

  • float

    Limit

Examples:

>>> ReinforcementSettings.GetMeshCutOffPlacementLimit()
200.0

GetMeshGroup staticmethod

GetMeshGroup() -> int

Get the current mesh group

Returns:

  • int

    Mesh group

GetMeshGroups staticmethod

GetMeshGroups() -> list[str]

Get the available mesh groups

Returns:

  • list[str]

    List with the mesh group names

GetMeshType staticmethod

GetMeshType() -> str

Get the current mesh type

Returns:

  • str

    Mesh type

GetMeshTypes staticmethod

GetMeshTypes(meshGroupIndex: int) -> list[str]

Get the available mesh types for a mesh group

Parameters:

  • meshGroupIndex (int) –

    Mesh group index

Returns:

  • list[str]

    List with the mesh type names

GetNorm staticmethod

GetNorm() -> int

Get the current norm

Returns:

  • int

    Norm

GetNorms staticmethod

GetNorms() -> list[tuple[int, str]]

Get the Reinforcement norms

Returns:

  • list[tuple[int, str]]

    List with the Reinforcement norms as tuple[ID, Name]

GetSteelGrade staticmethod

GetSteelGrade() -> int

Get the current steel grade

Returns:

  • int

    Steel grade index

GetSteelGrades staticmethod

GetSteelGrades() -> tuple[list[int], list[str]]

Get the available steel grades

Returns:

  • tuple[list[int], list[str]]

    Tuple containing list of steel grade IDs and list of steel grade names

Is3DReinforcement staticmethod

Is3DReinforcement() -> bool

Get the 3D-Reinforcement state

Returns:

  • bool

    Create 3D-Reinforcement: true/false

SetSteelGrade staticmethod

SetSteelGrade(steelGradeIndex: int)

Set the current steel grade

Parameters:

  • steelGradeIndex (int) –

    Steel grade index

__init__

__init__()

Initialize

Placeholder