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:
  • dim_1 (float) – Depth (y) of HAT-section

  • dim_2 (float) – Thickness of HAT-section

  • dim_3 (float) – Width (x) of top most section

  • dim_4 (float) – Width (x) of bottom sections

  • material (Material) – Material to associate with this geometry

Returns:

HAT section geometry

Return type:

Geometry

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)

../_images/sectionproperties-pre-library-nastran_sections-nastran_hat-1.png

HAT section geometry#