ROTATE OP PATH: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=ROTATE_OP_PATH <xc>, <yc>, <zc>, <angle>
[[Operations:Operation_Tool-Path|{{Up}}]]
|description=*DESCRPTION*


|param1=<xc>|param1_desc={{xc}}
{{Command|syntax=ROTATE_OP_PATH <vx>, <vy>, <vz>, <angle>
|param2=<xc>|param2_desc={{xc}}
|description=:Rotate the current [[macro path]].
|param3=<zc>|param3_desc={{zc}}
 
|param1=<xc>|param1_desc={{vx}}
|param2=<xc>|param2_desc={{vy}}
|param3=<zc>|param3_desc={{vz}}
|param4=<angle>|param4_desc= {{angle}}
|param4=<angle>|param4_desc= {{angle}}
}}
}}


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


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

Latest revision as of 21:26, 13 January 2011

Up

Command

ROTATE_OP_PATH <vx>, <vy>, <vz>, <angle>


Rotate the current macro path.

Parameters

<xc>
the X component of a vector.
<xc>
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_OP_PATH 0, 0, 1, 45