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 diameter as a multiple of bar diameter
concrete_grade
property
writable
Concrete grade as index of the global list starting from 0
mesh_bending_direction
property
writable
mesh_bending_direction: MeshBendingDirection
Mesh bending direction
__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
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:
-
ReinforcementShapeProperties
–Reinforcement shape properties for a mesh
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:
-
ReinforcementShapeProperties
–Reinforcement shape properties for a mesh
to_reinforcementshapebarproperties_string
Convert to a string.
Returns:
-
str
–String for the reinforcementshapebarproperties value type