concreteproperties.pre.add_bar_rectangular_array#
- add_bar_rectangular_array(geometry, area, material, n_x, x_s, n_y=1, y_s=0, anchor=(0, 0), exterior_only=False, n=4)[source]#
Adds a rectangular array of reinforcing bars to a sectionproperties geometry.
Bars are discretised by four points by default.
- Parameters
geometry (
Union
[Geometry
,CompoundGeometry
]) – Reinforced concrete geometry to which the new bar will be addedarea (
float
) – Bar cross-sectional areamaterial (
Union
[SteelBar
,SteelStrand
]) – Material object for the barn_x (
int
) – Number of bars in the x-directionx_s (
float
) – Spacing in the x-directionn_y (
int
, default:1
) – Number of bars in the y-directiony_s (
float
, default:0
) – Spacing in the y-directionanchor (
Tuple
[float
,float
], default:(0, 0)
) – Coordinates of the bottom left hand bar in the rectangular arrayexterior_only (
bool
, default:False
) – If set to True, only returns bars on the external perimetern (
int
, default:4
) – Number of points to discretise the bar circle
- Returns
CompoundGeometry
– Reinforced concrete geometry with added bar