concreteproperties.pre.add_bar_rectangular_array#

add_bar_rectangular_array(geometry: Union[Geometry, CompoundGeometry], area: float, material: Steel, n_x: int, x_s: float, n_y: Optional[int] = 1, y_s: Optional[float] = 0, anchor: Optional[Tuple[float]] = (0, 0), exterior_only: Optional[bool] = False, n: Optional[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 (Union[sectionproperties.pre.geometry.Geometry, sectionproperties.pre.geometry.CompoundGeometry]) – Reinforced concrete geometry to which the new bar will be added

  • area (float) – Bar cross-sectional area

  • material (Steel) – 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 (Optional[int]) – Number of bars in the y-direction

  • y_s (Optional[float]) – Spacing in the y-direction

  • anchor (Optional[Tuple[float]]) – Coordinates of the bottom left hand bar in the rectangular array

  • exterior_only (Optional[bool]) – If set to True, only returns bars on the external perimeter

  • n (Optional[int]) – Number of points to discretise the bar circle

Returns

Reinforced concrete geometry with added bar

Return type

sectionproperties.pre.geometry.CompoundGeometry