ROTATE SOLID: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Solids:Editing_Solids|{{Up}}]]
{{Command|syntax=[[Image:rotate_solid.png|right|ROTATE_SOLID]]ROTATE_SOLID <xc>, <yc>, <angle>, [<number of copies>]
{{Command|syntax=[[Image:rotate_solid.png|right|ROTATE_SOLID]]ROTATE_SOLID <xc>, <yc>, <angle>, [<number of copies>]
|description=Rotate the selected solid by a defined angle and amount of copies.
|description=:Rotate currently selected solids.


|param1=<xc>|param1_desc={{xc}}
|param1=<xc>|param1_desc={{xc}}
Line 11: Line 13:
===Example===
===Example===
:ROTATE_SOLID 1, 2, 59, 3
:ROTATE_SOLID 1, 2, 59, 3
:For an example macro see [[Solids]]


[[Category:Solids]]
[[Category:Solids]]

Latest revision as of 15:41, 17 January 2011

Up

Command

ROTATE_SOLID
ROTATE_SOLID
ROTATE_SOLID <xc>, <yc>, <angle>, [<number of copies>]


Rotate currently selected solids.

Parameters

<xc>
X co-ordinate of the center point.
<yc>
Y co-ordinate of the center point.
<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.
[<number of copies>]
The number of additional copies.

Example

ROTATE_SOLID 1, 2, 59, 3
For an example macro see Solids