nastran_hexa#

sectionproperties.pre.library.nastran_sections.nastran_hexa(dim_1: float, dim_2: float, dim_3: float, material: Material = Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w')) Geometry[source]#

Constructs a HEXA section.

Constructs a HEXA (hexagon) section with the center at the origin (0, 0), with three parameters defining dimensions.

Parameters:
  • dim_1 (float) – Spacing between bottom right point and right most point

  • dim_2 (float) – Width (x) of hexagon

  • dim_3 (float) – Depth (y) of hexagon

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

Returns:

HEXA section geometry

Return type:

Geometry

Example

The following example creates a HEXA cross-section with a depth of 1.5 and width of 2.0:

from sectionproperties.pre.library import nastran_hexa

nastran_hexa(dim_1=0.5, dim_2=2.0, dim_3=1.5).plot_geometry()

(Source code, png, hires.png, pdf)

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

HEXA section geometry#