m_n_kappa.Circle#

class m_n_kappa.Circle(diameter, centroid_y, centroid_z)#

Bases: Geometry

New in version 0.1.0.

applies only for circles that are small compared to the other dimensions of the cross-section

Parameters:
  • diameter (float) – diameter of the circle \(d\)

  • centroid_y (float) – position of centroid of the circle in horizontal direction \(y_\mathrm{centroid}\)

  • centroid_z (float) – position of centroid of the circle in vertical direction \(z_\mathrm{centroid}\)

circle dimensions
circle dimensions

Circle - dimensions#

See also

Rectangle

creates a rectangular geometry object

Trapezoid

creates a trapezoidal geometry object

RebarLayer

creates a number of circular objects representing a layer of reinforcement-bars

Examples

A circle object is easily instantiated as follows.

>>> from m_n_kappa import Circle
>>> circle = Circle(diameter=10, centroid_y=10, centroid_z=-10)

For building a Section the circle must only be added to a material.

>>> from m_n_kappa import Steel
>>> steel = Steel(f_y=355)
>>> section = circle + steel
>>> type(section)
<class 'm_n_kappa.section.Section'>

Methods

split(at_points[, max_widths])

check if circle is within effective width

Attributes

area

area of the circle

bottom_edge

vertical position (Z-Axis) of the bottom-edge of the circle

centroid

centroid_y

position of centroid of the circle in horizontal direction \(y_\mathrm{centroid}\)

centroid_z

position of centroid of the circle in vertical direction \(z_\mathrm{centroid}\)

diameter

diameter of the circle \(d\)

edges

edges in vertical direction

height

sides

edges in horizontal direction

top_edge

vertical position (Z-Axis) of the top-edge of the circle

split(at_points, max_widths=None)#

check if circle is within effective width

In case max_widths=None this circle is returned. Otherwise, this circle is only returned if position of the circle is smaller max_widths

See also

Rectangle.split

method that splits Rectangle considering strain-points and effective widths in a number of smaller rectangle

Trapezoid.split

method that splits Trapezoid considering strain-points and effective widths in a number of smaller trapezoids

Parameters:
  • at_points (StrainPosition) – has no effect on splitting process

  • max_widths (EffectiveWidths) – criteria to return the circle for further computations (Default: None)

Returns:

this circles

Return type:

list[Circle]

property area#

area of the circle

property bottom_edge#

vertical position (Z-Axis) of the bottom-edge of the circle

property centroid_y#

position of centroid of the circle in horizontal direction \(y_\mathrm{centroid}\)

property centroid_z#

position of centroid of the circle in vertical direction \(z_\mathrm{centroid}\)

property diameter: float#

diameter of the circle \(d\)

property edges: list[float]#

edges in vertical direction

property sides: list[float]#

edges in horizontal direction

property top_edge#

vertical position (Z-Axis) of the top-edge of the circle