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