concreteproperties.pre.add_bar#

add_bar(geometry, area, material, x, y, n=4)[source]#

Adds a reinforcing bar 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

  • x (float) – x-position of the bar

  • y (float) – y-position of the bar

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

Returns

CompoundGeometry – Reinforced concrete geometry with added bar