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:
- Returns:
HEXA section geometry
- Return type:
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
)