add_bar#
- concreteproperties.pre.add_bar(geometry: Geometry | CompoundGeometry, area: float, material: SteelBar | SteelStrand, x: float, y: float, n: int = 4) CompoundGeometry [source]#
Adds a reinforcing bar to a
sectionproperties
geometry.Bars are discretised by four points by default.
- Parameters:
geometry (Geometry | CompoundGeometry) – Reinforced concrete geometry to which the new bar will be added
area (float) – Bar cross-sectional area
material (SteelBar | SteelStrand) – Material object for the bar
x (float) – x-position of the bar
y (float) – y-position of the bar
n (int) – Number of points to discretise the bar circle
- Returns:
Reinforced concrete geometry with added bar
- Return type:
CompoundGeometry