create_circle_patch¶
- opstool.pre.section.create_circle_patch(xo, radius, holes=None, angle1=0.0, angle2=360, n_sub=40, material=None)[source]¶
Add the circle geom obj.
Parameters¶
- xolist[float, float]
Center coords, [(xc, yc)].
- radius: float
radius.
- holes: list[list[list[float, float]]].
Hole of the section, a list of multiple hole coords, [hole1, hole2,…holeN], holeN=[(x1, y1), (x2, y2),…,(xn, yn)].
- angle1float
The start angle, degree
- angle2float
The end angle, deree
- n_sub: int
The partition number of the perimeter.
- material: material obj
The instance from
opstool.pre.section.create_material().
Returns¶
- geometry:
- Geometry in
sectionproperties.