Command Line 6.2.9

You are reading an old version of this user guide. The information contained here has been archived and is presented for reference reasons, but it may not be up to date.

3.84. revolve command

Description: 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

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

Resulting torus

 

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree