REVOLVE

From Macros Wiki
Revision as of 14:58, 12 January 2011 by Mikeo (talk | contribs)
Jump to: navigation, search

Up

Command

REVOLVE
REVOLVE <axis>, <axis value>, <angle>


Revolve the currently selected gometry to create a solid body.

Parameters

<axis value>
The axis value.
<angle>
angle value, either degrees or radians. Positive angles indicate a CCW direction, negative for CW.

Use the DEGREES or RADIANS commands to switch between the two angle modes.

Example

REVOLVE H, 13


This will rotate the selected geometry around the Horizontal axis, by 13 degrees


Note - the variable SolidRef will be set to the number of the solid that was created.
For an example macro see Solids