add_bar#

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

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

Parameters:
Returns:

Geometry object with added bar

Return type:

geometry.CompoundGeometry