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) Geometry | CompoundGeometry[source]¶
Adds a rectangular array of reinforcing bars to a
sectionpropertiesgeometry.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. Defaults to
1.y_s (float) – Spacing in the y-direction. Defaults to
0.anchor (tuple[float, float]) – Coordinates of the bottom left hand bar in the rectangular array. Defaults to
(0, 0).exterior_only (bool) – If set to True, only returns bars on the external perimeter. Defaults to
False.n (int) – Number of points to discretise the bar circle. Defaults to
4.
- Returns:
Reinforced concrete geometry with added bar
- Return type:
Geometry | CompoundGeometry