circular_section_by_area#

sectionproperties.pre.library.primitive_sections.circular_section_by_area(area: 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 defined by its area.

Constructs a solid circle centered at the origin (0, 0 defined by its area, using n points to construct the circle.

Parameters:
  • area (float) – Area of the circle

  • n (int) – Number of points discretising the circle

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

Returns:

Circular section geometry

Return type:

Geometry

Example

The following example creates a circular geometry with an area of 310 mm2 with 32 points:

from sectionproperties.pre.library import circular_section_by_area

circular_section_by_area(area=310, n=32).plot_geometry()

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

../_images/sectionproperties-pre-library-primitive_sections-circular_section_by_area-1.png

Circular section geometry#