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 diameter d, using n points to construct the circle.

Parameters:
  • d (float) – Diameter 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 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)

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

Circular section geometry#