Skip to content

ReinforcementShapeProperties

Implementation of the reinforcement shape properties class

ReinforcementShapeProperties

Canonical path: StdReinfShapeBuilder.ReinforcementShapeProperties.ReinforcementShapeProperties

Reinforcement shape properties class representing the properties relevant for a reinforcement shape, such as bar diameter, steel grade or diameter of the bending roller.

This class is a container for properties relevant for rebars as well as meshes. Use the dedicated constructor methods (rebar() or mesh()), to define properties for a rebar or for a mesh respectively.

bending_roller property writable

bending_roller: float

Bending roller diameter as a multiple of bar diameter

bending_shape_type property writable

bending_shape_type: BendingShapeType

Bending shape type

concrete_grade property writable

concrete_grade: int

Concrete grade as index of the global list starting from 0

diameter property writable

diameter: float

Bar diameter

mesh_bending_direction property writable

mesh_bending_direction: MeshBendingDirection

Mesh bending direction

mesh_type property writable

mesh_type: str

Mesh type

steel_grade property writable

steel_grade: int

Steel grade as index of the global table

__eq__

__eq__(other)

comparison operator

__init__

__init__(
    diameter: float,
    bending_roller: float,
    steel_grade: int,
    concrete_grade: int,
    bending_shape_type: BendingShapeType,
    mesh_type: str,
    mesh_bending_direction: MeshBendingDirection,
)

Default constructor

Parameters:

  • diameter (float) –

    Bar diameter

  • bending_roller (float) –

    Default bending roller (-1 = default for diameter)

  • steel_grade (int) –

    Steel grade

  • concrete_grade (int) –

    Concrete grade as index of the global list starting from 0. Set to -1 to use global value from the settings.

  • bending_shape_type (BendingShapeType) –

    Bending shape type

  • mesh_type (str) –

    Mesh type

  • mesh_bending_direction (MeshBendingDirection) –

    Mesh bending direction

deep_copy

deep_copy() -> 'ReinforcementShapeProperties'

Execute a deep copy of the data

Returns:

  • 'ReinforcementShapeProperties'

    copy of the object

mesh classmethod

mesh(
    mesh_type: str,
    mesh_bending_direction: MeshBendingDirection,
    bending_roller: float,
    concrete_grade: int,
    bending_shape_type: BendingShapeType,
) -> ReinforcementShapeProperties

Constructs reinforcement shape properties with data relevant for a mesh

Parameters:

  • mesh_type (str) –

    Mesh type

  • mesh_bending_direction (MeshBendingDirection) –

    Mesh bending direction

  • concrete_grade (int) –

    Concrete grade as index of the global list starting from 0. Set to -1 to use global value from the settings.

  • bending_roller (float) –

    Default bending roller as a multiple of bar diameter

  • bending_shape_type (BendingShapeType) –

    Bending shape type

Returns:

rebar classmethod

rebar(
    diameter: float,
    bending_roller: float,
    steel_grade: int,
    concrete_grade: int,
    bending_shape_type: BendingShapeType,
) -> ReinforcementShapeProperties

Constructs reinforcement shape properties with data relevant for a rebar

Parameters:

  • diameter (float) –

    Bar diameter

  • bending_roller (float) –

    Default bending roller as a multiple of bar diameter

  • steel_grade (int) –

    Steel grade as index of the global list

  • concrete_grade (int) –

    Concrete grade as index of the global list starting from 0. Set to -1 to use global value from the settings.

  • bending_shape_type (BendingShapeType) –

    Bending shape type

Returns:

to_reinforcementshapebarproperties_string

to_reinforcementshapebarproperties_string() -> str

Convert to a string.

Returns:

  • str

    String for the reinforcementshapebarproperties value type

to_reinforcementshapemeshproperties_string

to_reinforcementshapemeshproperties_string() -> str

Convert to a string.

Returns:

  • str

    String for the reinforcementshapebarproperties value type

Placeholder