nastran_hat#
- sectionproperties.pre.library.nastran_sections.nastran_hat(dim_1: float, dim_2: float, dim_3: float, dim_4: float, material: Material = Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w')) Geometry [source]#
Constructs a HAT section.
Constructs a HAT section with the top most section’s middle center at the origin
(0, 0)
, with four parameters defining dimensions.- Parameters:
- Returns:
HAT section geometry
- Return type:
Example
The following example creates a HAT cross-section with a depth of 1.25 and width of 2.5:
from sectionproperties.pre.library import nastran_hat nastran_hat(dim_1=1.25, dim_2=0.25, dim_3=1.5, dim_4=0.5).plot_geometry()
(
Source code
,png
,hires.png
,pdf
)