Difference between revisions of "REVOLVE"
From Macros Wiki
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | [[:Solids:Creating_Solids|{{Up}}]] |
− | |||
− | |param1=<axis>|param1_desc={{axis}} | + | {{Command|syntax=[[Image:revolve.png|right|REVOLVE]]REVOLVE <axis>, <axis value>, <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=H or V (rotate around Horizontal or Vertical axis) | ||
+ | |param1=<axis value>|param1_desc={{axis value}} | ||
|param2=<angle>|param2_desc={{angle}} | |param2=<angle>|param2_desc={{angle}} | ||
}} | }} | ||
===Example=== | ===Example=== | ||
− | : | + | :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
Command
- 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