REVOLVE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
Line 3: Line 3:
{{Command|syntax=[[Image:revolve.png|right|REVOLVE]]REVOLVE <axis>, <axis value>, <angle>
{{Command|syntax=[[Image:revolve.png|right|REVOLVE]]REVOLVE <axis>, <axis value>, <angle>
|description=:Revolve the currently selected gometry to create a solid body.
|description=:Revolve the currently selected gometry to create a solid body.
:The variable SolidRef will be set to the number of the solid that was created.


|param1=<axis>|param1_desc=H or V (rotate around Horizontal or Vertical axis)
|param1=<axis>|param1_desc=H or V (rotate around Horizontal or Vertical axis)
Line 13: Line 14:
<br>
<br>
:This will rotate the selected geometry around the Horizontal axis, by 13 degrees
:This will rotate the selected geometry around the Horizontal axis, by 13 degrees
<br>
:Note - the variable SolidRef will be set to the number of the solid that was created.


:For an example macro see [[Solids]]
:For an example macro see [[Solids]]
[[Category:Solids]]
[[Category:Solids]]

Latest revision as of 19:58, 12 January 2011

Up

Command

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


Revolve the currently selected gometry to create a solid body.
The variable SolidRef will be set to the number of the solid that was created.

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
For an example macro see Solids