Skip to content

Functions of the module General Reinf Shape Builder

Module full path: StdReinfShapeBuilder.GeneralReinfShapeBuilder

Implementation of the functions for the creation of the general reinforcement shapes

get_hook_type_from_angle(hook_type, hook_angle)

Create a longitudinal shape with hooks

hook_angle Hook angle

hook_type Type of the hooks, -1 set type from angle

Return: Bar shape of the longitudinal shape in world coordinates

create_longitudinal_shape_with_hooks(length, model_angles, shape_props, concrete_cover_props, start_hook=0, end_hook=0)

Create a longitudinal shape with hooks

Return: Bar shape of the longitudinal shape in world coordinates

length Length of the geometry side

model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties: needed left, right, bottom start_hook Create an anchorage hook at the start point: -1 = no / 0 = calculate / >0 = value end_hook Create an anchorage hook at the end point:: -1 = no / 0 = calculate / >0 = value

create_longitudinal_shape_with_user_hooks(length, model_angles, shape_props, concrete_cover_props, start_hook=0, end_hook=0, start_hook_angle=90.0, end_hook_angle=90.0, hook_type_start=-1, hook_type_end=-1)

Create a longitudinal shape with user defined hooks

Return: Bar shape of the longitudinal shape in world coordinates

length Length of the geometry side

model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties: needed left, right, bottom start_hook Create a hook at the start point: -1 = no / 0 = calculate / >0 = value end_hook Create a hook at the end point: -1 = no / 0 = calculate / >0 = value start_hook_angle Create a hook with specified angle [-180, 180]: default is 90° end_hook_angle Create a hook with specified angle [-180, 180]: default is 90° hook_type_start Type of the hook at the start point, -1 set type from angle hook_type_end Type of the hook at the end point, -1 set type from angle

create_longitudinal_shape_with_anchorage(from_point, to_point, shape_props, concrete_cover_props, start_anchorage=0, end_anchorage=0)

Create a longitudinal shape with hooks

Return: Bar shape of the longitudinal shape in world coordinates

from_point Shape from point

to_point Shape to point shape_props Shape properties concrete_cover_props Concrete cover properties: needed left, right, bottom start_anchorage Anchorage length at the start point, 0 = no end_anchorage Anchorage length at the end point, 0= no

create_l_shape_with_hooks(length, width, model_angles, shape_props, concrete_cover_props, start_hook=0, end_hook=0)

Create a L shape with hooks

Return: Bar shape of the L shape in world coordinates

length Length of the l shape

width Width of the l shape model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties: needed left, right, bottom start_hook Create an anchorage hook at the start point: -1 = no / 0 = calculate / >0 = value end_hook Create an anchorage hook at the end point:: -1 = no / 0 = calculate / >0 = value

create_stirrup(length, width, model_angles, shape_props, concrete_cover_props, stirrup_type=Normal, hook_length=0)

Create a stirrup

Return: Bar shape of the stirrup in world coordinates

length Length of the geometry side

width Width of the geometry side model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover at the sides stirrup_type Type of the stirrup hook_length 0 = calculate / >0 = value

create_stirrup_with_user_hooks(length, width, model_angles, shape_props, concrete_cover_props, stirrup_type, hook_length_start, hook_angle_start, hook_length_end, hook_angle_end)

Create a stirrup

Return: Bar shape of the stirrup in world coordinates

length Length of the geometry side

width Width of the geometry side model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover at the sides stirrup_type Type of the stirrup hook_length_start Hook length at the start point: 0 = calculate / >0 = value hook_angle_start Hook angle at the start point: 0 = calculate / not 0 = value hook_length_end Hook length at the end point: 0 = calculate / >0 = value hook_angle_end Hook angle at the end point: 0 = calculate / not 0 = value

create_open_stirrup(length, width, model_angles, shape_props, concrete_cover_props, start_hook=0, end_hook=0, start_hook_angle=90.0, end_hook_angle=90.0, hook_type=-1)

Create a stirrup

Return: Bar shape of the stirrup in world coordinates

length Length of the geometry side

width Width of the geometry side model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover at the sides start_hook Create a hook at the start point: -1 = no / 0 = calculate / >0 = value end_hook Create a hook at the end point: -1 = no / 0 = calculate / >0 = value start_hook_angle Create a hook with specified angle [-180, 180]: default is 90° end_hook_angle Create a hook with specified angle [-180, 180]: default is 90° hook_type Type of the hooks, -1 set type from angle

create_s_hook(length, model_angles, shape_props, concrete_cover_props, hook_length=0)

Create a S hook

Return: Bar shape of the S hook shape in world coordinates

length Length of the geometry side

model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties: needed top and bottom hook_length 0 = calculate / >0 = value

create_hook_stirrup(length, model_angles, shape_props, concrete_cover_props, hook_length=0, hook_start_angle=180.0, hook_end_angle=180.0)

Create a hook stirrup

Return: Bar shape of the S hook shape in world coordinates

length Length of the geometry side

model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties: needed top and bottom hook_length 0 = calculate / >0 = value hook_start_angle 180° = default hook_end_angle 180° = default

create_spacer(length, width, height, model_angles, shape_props)

Create a spacer

Return: Bar shape of the S hook shape in world coordinates

length Length of the spacer

width Width of the spacer height Height of the spacer model_angles Angles for the local to global shape transformation shape_props Shape properties

Create an u-link (opened stirrup)

Return: Bar shape of the u link shape in world coordinates

width Width of the links base line

side_length Side length model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties hook Create an anchorage hook at the end point: -1 = no / 0 = calculate / >0 = value

Create an u-link (opened stirrup)

Return: Bar shape of the u link shape in world coordinates

width Width of the links base line

side_length_start Side length at the start point side_length_end Side length at the end point model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties start_hook Create a hook at the start point: -1 = no / 0 = calculate / >0 = value end_hook Create a hook at the end point: -1 = no / 0 = calculate / >0 = value start_hook_angle Create a hook with specified angle [-180, 180]: default is 90° end_hook_angle Create a hook with specified angle [-180, 180]: default is 90° hook_type_start Type of the hook at the start point, -1 set type from angle hook_type_end Type of the hook at the end point, -1 set type from angle

create_freeform_shape_with_hooks(points, model_angles, shape_props, concrete_cover, start_hook=0, end_hook=0)

Create a longitudinal shape with hooks

Return: Bar shape of the longitudinal shape in world coordinates

points Points of the geometry side (min. 2 points)

model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover_props Concrete cover properties: needed left, right, bottom start_hook Create an anchorage hook at the start point: -1 = no / 0 = calculate / >0 = value end_hook Create an anchorage hook at the end point:: -1 = no / 0 = calculate / >0 = value

create_circle_stirrup_with_user_hooks(radius, model_angles, shape_props, concrete_cover, overlap, hook_length_start, hook_angle_start, hook_length_end, hook_angle_end)

Create a circle stirrup

Return: Bar shape of the circle stirrup in world coordinates

radius Radius of the geometry

model_angles Angles for the local to global shape transformation shape_props Shape properties concrete_cover Concrete cover at the sides overlap Overlap length hook_length_start Hook length at the start point: 0 = calculate / >0 = value hook_angle_start Hook angle at the start point: 0 = calculate / not 0 = value hook_length_end Hook length at the end point: 0 = calculate / >0 = value hook_angle_end Hook angle at the end point: 0 = calculate / not 0 = value