REVOLVE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[:Solids:Creating_Solids|{{Up}}]] | |||
|param1=<axis>|param1_desc={{ | {{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 | :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 19:58, 12 January 2011
Command
- 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