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 added

  • area (float) – Bar cross-sectional area

  • material (Union[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, default: 1) – Number of bars in the y-direction

  • y_s (float, default: 0) – Spacing in the y-direction

  • anchor (Tuple[float, float], default: (0, 0)) – Coordinates of the bottom left hand bar in the rectangular array

  • exterior_only (bool, default: False) – If set to True, only returns bars on the external perimeter

  • n (int, default: 4) – Number of points to discretise the bar circle

Returns

CompoundGeometry – Reinforced concrete geometry with added bar