bulb_section#
- sectionproperties.pre.library.steel_sections.bulb_section(d: float, b: float, t: float, r: float, n_r: int, d_b: float | None = None, material: pre.Material = Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w')) geometry.Geometry [source]#
Constructs a bulb section.
Constructs a bulb section with the bottom left corner at the point
(-t / 2, 0)
, with depthd
, bulb depthd_b
, bulb width``*b``, web thicknesst
and radiusr
, usingn_r
points to construct the radius.- Parameters:
d (float) – Depth of the section
b (float) – Bulb width
t (float) – Web thickness
r (float) – Bulb radius
d_b (float | None) – Depth of the bulb (automatically calculated for standard sections, if provided the section may have sharp edges)
n_r (int) – Number of points discretising the radius
material (pre.Material) – Material to associate with this geometry
- Returns:
Bulb section geometry
- Return type:
Example
The following example creates a bulb section with a depth of 240 mm, a width of 34 mm, a web thickness of 12 mm and a bulb radius of 16 mm, using 16 points to discretise the radius:
from sectionproperties.pre.library import bulb_section bulb_section(d=240, b=34, t=12, r=10, n_r=16).plot_geometry()
(
Source code
,png
,hires.png
,pdf
)