Difference between revisions of "REVOLVE"

From Macros Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[:Solids:Creating_Solids|{{Up}}]]
 +
 
{{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 a geometric shape about an axis with a defined angle.
+
|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={{hvaxis}}
+
|param1=<axis>|param1_desc=H or V (rotate around Horizontal or Vertical axis)
 
|param1=<axis value>|param1_desc={{axis value}}
 
|param1=<axis value>|param1_desc={{axis value}}
 
|param2=<angle>|param2_desc={{angle}}
 
|param2=<angle>|param2_desc={{angle}}
Line 8: Line 11:
  
 
===Example===
 
===Example===
:REVOLVE h, 13
+
:REVOLVE H, 13
 +
<br>
 +
:This will rotate the selected geometry around the Horizontal axis, by 13 degrees
  
 +
:For an example macro see [[Solids]]
 
[[Category:Solids]]
 
[[Category:Solids]]

Latest revision as of 14:58, 12 January 2011

Up

Command

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