revolve

This command creates a surface by revolving a curve around a rotational axis.

Inline mode usage

revolve -h
Displays the help file that summarizes the parameters for this command.
revolve –s <name> –p <x1 y1 z1> <x2 y2 z2> <angle>
Create a surface by rotating a curve by a number of degrees.

Interactive mode usage

Invocation
revolve
Parameters
  • Curves to revolve.
  • First axis point.
  • Second axis point.
  • Rotation angle, in degrees.

The line that joins both axis points will be the axis considered for the rotation.

Example

We’re going to create a torus by revolving a circle around a rotational axis. In order to do this, we have to create the circle to revolve:

>circle
Center [x y z]: 6 0 0
Radius [double]: 2
> 
Figure 1. Base Circle


Revolving this circle around the Y axis we will create a torus with an inner radius of 4 and an outer radius of 8, as we will see below:

> revolve
Select curves on screen (Press enter when done): // Select the circle
Axis point 1 [x y z]: 0 0 0
Axis point 2 [x y z]: 0 1 0
Angle [degrees]: 360
> 
Figure 2. Resulting torus