nastran_rod#
- sectionproperties.pre.library.nastran_sections.nastran_rod(dim_1: float, n: int, material: Material = Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w')) Geometry [source]#
Constructs a circular rod section.
Constructs a circular rod section with the center at the origin
(0, 0)
, with one parameter defining dimension.- Parameters:
- Returns:
Circular rod section geometry
- Return type:
Example
The following example creates a circular rod with a radius of 3.0 and 50 points discretising the boundary:
from sectionproperties.pre.library import nastran_rod nastran_rod(dim_1=3.0, n=50).plot_geometry()
(
Source code
,png
,hires.png
,pdf
)