REVOLVE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{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 | |description=:Revolve the currently selected gometry to create a solid body. | ||
|param1=<axis>|param1_desc= | |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 10: | Line 10: | ||
===Example=== | ===Example=== | ||
:REVOLVE | :REVOLVE H, 13 | ||
<br> | |||
: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]] |
Revision as of 19:58, 12 January 2011
Command
- 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