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