ROTATE PATH: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command|syntax=ROTATE_PATH <path number>, <xc>, <yc>, <zc>, <angle>
[[Operations:Operation_Tool-Path|{{Up}}]]
|description=*DESCRPTION*
 
{{Command|syntax=ROTATE_PATH <path number>, <vx>, <vy>, <vz>, <angle>
|description=:Rotate a numbered [[macro path]].


|param1=<path number>|param1_desc={{path number}}
|param1=<path number>|param1_desc={{path number}}
|param2=<xc>|param2_desc={{xc}}
|param2=<xc>|param2_desc={{vx}}
|param3=<yc>|param3_desc={{yc}}
|param3=<yc>|param3_desc={{vy}}
|param4=<zc>|param4_desc= {{zc}}
|param4=<zc>|param4_desc={{vz}}
|param5=<angle>|param5_desc={{angle}}
|param5=<angle>|param5_desc={{angle}}
}}
}}


===Example===
===Example===
:- ROTATE_PATH
:ROTATE_PATH 0, 0, 1, 45


[[Category:Operations]]
[[Category:Operations]]

Latest revision as of 23:45, 13 January 2011

Up

Command

ROTATE_PATH <path number>, <vx>, <vy>, <vz>, <angle>


Rotate a numbered macro path.

Parameters

<path number>
Path number (1 to 100).
<xc>
the X component of a vector.
<yc>
the Y component of a vector.
<zc>
the Z component of a vector.
<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

ROTATE_PATH 0, 0, 1, 45