create_circle#
- Modeler3D.create_circle(cs_plane, position, radius, numSides=0, is_covered=True, name=None, matname=None, non_model=False)[source]#
Create a circle.
- Parameters:
- cs_plane
str
orint
Coordinate system plane for orienting the circle.
pyaedt.constants.PLANE
Enumerator can be used as input.- position
list
List of
[x, y, z]
coordinates for the center point of the circle.- radius
float
Radius of the circle.
- numSides
int
,optional
Number of sides. The default is
0
, which is correct for a circle.- name
str
,optional
Name of the circle. The default is
None
, in which case the default name is assigned.- matname
str
,optional
Name of the material. The default is
None
, in which case the default material is assigned.- non_modelbool,
optional
Either if create the new object as model or non-model. The default is
False
.
- cs_plane
- Returns:
pyaedt.modeler.cad.object3d.Object3d
3D object.
References
>>> oEditor.CreateCircle