ROTATE PATH: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Operations:Operation_Tool-Path|{{Up}}]] | [[Operations:Operation_Tool-Path|{{Up}}]] | ||
{{Command|syntax=ROTATE_PATH <path number>, < | {{Command|syntax=ROTATE_PATH <path number>, <vx>, <vy>, <vz>, <angle> | ||
|description=: | |description=:Rotate a numbered [[macro path]]. | ||
|param1=<path number>|param1_desc={{path number}} | |param1=<path number>|param1_desc={{path number}} | ||
|param2=<xc>|param2_desc={{ | |param2=<xc>|param2_desc={{vx}} | ||
|param3=<yc>|param3_desc={{ | |param3=<yc>|param3_desc={{vy}} | ||
|param4=<zc>|param4_desc= {{ | |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
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