To create an extruded shape by Revolution in the Main Menu select New Entity - > Generation - > Create a Revolution
To create an extruded shape by Revolution you need to define the source Object to rotate, the Axis of revolution and the Angle by which the Shape has to be rotated around the Axis (in degrees).
The Result of the operation will be a GEOM_Object (edge, face, solid or compsolid).
TUI Command: geompy.MakeRevolution(Shape, Axis, Angle).
Arguments: Name + 1 shape (vertex, edge, wire, face or shell) serving as base object + 1 vector (for direction) + 1 value (angle).
Example:
Our TUI Scripts provide you with useful examples of creation of Complex Geometric Objects.