ROTATE OP PATH: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | [[Operations:Operation_Tool-Path|{{Up}}]] | ||
|param1=<xc>|param1_desc={{ | {{Command|syntax=ROTATE_OP_PATH <vx>, <vy>, <vz>, <angle> | ||
|param2=<xc>|param2_desc={{ | |description=:Rotate the current [[macro path]]. | ||
|param3=<zc>|param3_desc={{ | |||
|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 0, 0, 1, 45 | ||
[[Category:Operations]] | [[Category:Operations]] | ||
Latest revision as of 21:26, 13 January 2011
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