Skip to content

Functions of the module Linear Bar Placement Builder

Module full path: StdReinfShapeBuilder.LinearBarPlacementBuilder

Implementation of the linear placement bar placement builder

create_linear_bar_placement_from_to_by_dist(position, shape, from_point, to_point, concrete_cover_left, concrete_cover_right, bar_distance, start_end_rule=AdditionalCover, global_move=True)

Create a linear placement defined by two points and a bar distance

Return: Bar placement

position Position number

shape Shape for the placement from_point Placement from point to_point Placement to point concrete_cover_left Concrete cover at the left placement side concrete_cover_right Concrete cover at the right placement side bar_distance Bar distance start_end_rule Rule for the adaption of the distance / start-end cover global_move True: move the shape to the from_point of the placement (e.g. if the shape is created in a local 0/0/0 coordinate system) False: the shape is already placed at the from_point

create_linear_bar_placement_from_to_by_count(position, shape, from_point, to_point, concrete_cover_left, concrete_cover_right, bar_count, global_move=True, remove_count_left=0, remove_count_right=0)

Create a linear placement defined by two points and a bar count

Return: Bar placement

position Position number

shape Shape for the placement from_point Placement from point to_point Placement to point concrete_cover_left Concrete cover at the left placement side concrete_cover_right Concrete cover at the right placement side bar_count Bar count global_move True: move the shape to the from_point of the placement (e.g. if the shape is created in a local 0/0/0 coordinate system) False: the shape is already placed at the from_point remove_count_left Remove ... bars at the left side of the placement remove_count_right Remove ... bars at the right side of the placement

create_linear_bar_placement_from_by_dist_count(position, shape, from_point, direction_point, concrete_cover, bar_distance, bar_count, global_move=True)

Create a linear placement defined by a from point, a direction point, a bar count and a distance

Return: Bar placement

position Position number

shape Shape for the placement from_point Placement from point direction_point Direction point concrete_cover Concrete cover bar_distance Bar distance bar_count Bar count

calculate_length_of_regions(value_list, from_point, to_point, concrete_cover_left, concrete_cover_right)

Create the real region length of a placement

Return: Bar placement ploints as list of tuples (start point, end point)

value_list list with the tuple (length, distance, diameter)

from_point Placement from point to_point Placement to point concrete_cover_left Concrete cover at the left placement side concrete_cover_right Concrete cover at the right placement side

check_placement_length_by_distance(length, distance)

Helper function for the length checking of a placement

Return: adapted length of the placement

length length of the placement

distance distance of the placement