Revolve

A Revolve primitive causes the cross-section defined to be rotated about the X axis.

The StartAngle, NumVerts and Data parameters must be specified for a Revolve. For example, rotating a circle displaced from the origin creates a torus.

Revolve primitive parameters

StartAngle <Value>

Parameter <Value>
Range 0-360
Default N/A
(R)eal #, (I)nteger? R
Description Begin rotating around X axis.

EndAngle <Value>

Parameter <Value>
Range 0-360
Default 360
(R)eal #, (I)nteger? R
Description End rotations around the X axis once it reaches this angle.

NumRevolve <Value>

Parameter <Value>
Range > 3
Default 10
(R)eal #, (I)nteger? I
Description Number of steps taken between the Start and End Angles.

NumVerts <Value>

The NumVerts parameter defines the number of points contained in the Data parameter.

Parameter <Value>
Range v
Default N/A
(R)eal #, (I)nteger? I
Description Number of vertices to be drawn.

Data < x> < y> < z> …

Each row in the Data parameter specifies one vertex of the cross-section.

When defining a Revolve, the Data keyword must be on a line by itself. In addition, each point (defined by <x> , <y> and <z> ) in the Revolve should be on a line by itself.

Parameter <Value>
Range any real #
Default N/A
(R)eal #, (I)nteger? R
Description X, Y and Z positions for each of the vertices of the cross-section.

AftFuselage revolve primitive for the F18.mdl model:

Component AftFuselage

Revolve
Scale 1.0 0.82 1.0
FaceColor gray30
StartAngle 0.0
EndAngle 359.99
NumRevolve 18
NumVerts 4
Data
0.0 2.7 0.0
7.0 2.60 0.0
14.0 2.2 0.0
29.2 0.5 0.0
EndRevolve

EndComponent