@@ -25,8 +25,8 @@ def concrete_rectangular_section(
25
25
) -> geometry .CompoundGeometry :
26
26
"""Constructs a concrete rectangular section of width *b* and depth *d*, with
27
27
*n_top* top steel bars of diameter *dia_top*, *n_bot* bottom steel bars of diameter
28
- *dia_bot*, discretised with *n_circle* points with equal side and top/bottom
29
- *cover* to the steel.
28
+ *dia_bot*, *n_side* left & right side steel bars of diameter *dia_side* discretised
29
+ with *n_circle* points with equal side and top/bottom *cover* to the steel.
30
30
31
31
:param float b: Concrete section width
32
32
:param float d: Concrete section depth
@@ -52,7 +52,7 @@ def concrete_rectangular_section(
52
52
:param Optional[sectionproperties.pre.pre.Material] steel_mat: Material to
53
53
associate with the steel
54
54
55
- :raises ValueErorr : If the number of bars is not greater than or equal to 2 in an
55
+ :raises ValueError : If the number of bars is not greater than or equal to 2 in an
56
56
active layer
57
57
58
58
The following example creates a 600D x 300W concrete beam with 3N20 bottom steel
@@ -95,7 +95,7 @@ def concrete_rectangular_section(
95
95
# create rectangular concrete geometry
96
96
geom = primitive_sections .rectangular_section (b = b , d = d , material = conc_mat )
97
97
98
- # calculate reinforcing bar dimensions
98
+ # calculate reinforcing bar dimensions for top and bottom layers
99
99
x_i_top = cover + dia_top / 2
100
100
x_i_bot = cover + dia_bot / 2
101
101
spacing_top = (b - 2 * cover - dia_top ) / (n_top - 1 )
0 commit comments