sweep_around_axis#

Object3d.sweep_around_axis(axis: int, sweep_angle: int = 360, draft_angle: int = 0) Object3d | bool#

Sweep around an axis.

Parameters:
axisansys.aedt.core.generic.constants.Axis

Coordinate system of the axis.

sweep_anglefloat, optional

Sweep angle in degrees. The default is 360.

draft_anglefloat, optional

Angle of the draft. The default is 0.

Returns:
ansys.aedt.core.modeler.cad.object_3d.Object3d

Swept object.

References

>>> oEditor.SweepAroundAxis

Examples

>>> from ansys.aedt.core.modeler.cad.object_3d import Object3d
>>> obj = Object3d()
>>> obj.sweep_around_axis(axis="Z")