add_bars

sectionproperties.pre.library.concrete_sections.add_bars(geometry: Geometry | CompoundGeometry, area: float, material: Material, x: list[float], y: list[float], n: int) CompoundGeometry[source]

Adds a list of reinforcing bars to a sectionproperties geometry.

First removes the geometry through a subtraction operation, then adds the geometry on top of the newly created hole. This method avoids the doubling up of

Parameters:
  • geometry (Geometry | CompoundGeometry) – Reinforced concrete geometry to which the new bars will be added

  • area (float) – Bar cross-sectional area

  • material (Material) – Material object for the bars

  • x (list[float]) – x-positions of the bars

  • y (list[float]) – y-positions of the bars

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

Returns:

Geometry object with added bars

Return type:

CompoundGeometry