sweep_along_vector#
- Modeler3D.sweep_along_vector(assignment, sweep_vector, draft_angle=0, draft_type='Round')#
Sweep the selection along a vector.
- Parameters:
- assignment
list
,str
,int
,ansys.aedt.core.modeler.Object3d.Object3d
Name or ID of the object.
- sweep_vector
float
List of
[x1, y1, z1]
coordinates or Application.Position object for the vector.- draft_angle
float
,optional
Draft angle in degrees. The default is
0
.- draft_type
str
Type of the draft. Options are
"Round"
,"Natural"
, and"Extended"
. The default is"Round"
.
- assignment
- Returns:
ansys.aedt.core.modeler.cad.object_3d.Object3d
orlist
of
ansys.aedt.core.modeler.cad.object_3d.Object3d
One or more objects created.
References
>>> oEditor.SweepAlongVector