add_bar¶
- concreteproperties.pre.add_bar(geometry: Geometry | CompoundGeometry, area: float, material: SteelBar | SteelStrand, x: float, y: float, n: int = 4) Geometry | CompoundGeometry[source]¶
Adds a reinforcing bar to a
sectionpropertiesgeometry.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. Defaults to
4.
- Returns:
Reinforced concrete geometry with added bar
- Return type:
Geometry | CompoundGeometry