Create circular section geometry#
- opstool.preprocessing.add_circle(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 add_material().
Returns#
None