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}\)
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
thecircle
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 of the circle
vertical position (Z-Axis) of the bottom-edge of the circle
centroid
position of centroid of the circle in horizontal direction \(y_\mathrm{centroid}\)
position of centroid of the circle in vertical direction \(z_\mathrm{centroid}\)
diameter of the circle \(d\)
edges in vertical direction
height
edges in horizontal direction
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 smallermax_widths
See also
Rectangle.split
method that splits
Rectangle
considering strain-points and effective widths in a number of smaller rectangleTrapezoid.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 processmax_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