circular_section#
- sectionproperties.pre.library.primitive_sections.circular_section(d: 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 section.
Constructs a solid circle centered at the origin
(0, 0)
with diameterd
, usingn
points to construct the circle.- Parameters:
- Returns:
Circular section geometry
- Return type:
Example
The following example creates a circular geometry with a diameter of 50 mm with 64 points:
from sectionproperties.pre.library import circular_section circular_section(d=50, n=64).plot_geometry()
(
Source code
,png
,hires.png
,pdf
)