elliptical_hollow_section#
- sectionproperties.pre.library.steel_sections.elliptical_hollow_section(d_x: float, d_y: float, t: float, n: int, material: Material = Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w')) Geometry [source]#
Constructs an elliptical hollow section (EHS).
Constructs an elliptical hollow section (EHS) centered at the origin
(0, 0)
, with outer horizontal diameterd_x
, outer vertical diameterd_y
and thicknesst
, usingn
points to construct the inner and outer ellipses.- Parameters:
- Returns:
Elliptical hollow section geometry
- Return type:
Example
The following example creates an EHS discretised with 30 points, with an outer horizontal diameter of 50 mm, outer vertical diameter of 25 mm and thickness of 2 mm:
from sectionproperties.pre.library import elliptical_hollow_section elliptical_hollow_section(d_x=50, d_y=25, t=2, n=64).plot_geometry()
(
Source code
,png
,hires.png
,pdf
)