ROTATE PATH: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=ROTATE_PATH <path number>, <xc>, <yc>, <zc>, <angle> |description=*DESCRPTION* |param1=<path number>|param1_desc= |param2=<xc>|param2_desc= |param3=<yc>|param3_desc= |par... |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | [[Operations:Operation_Tool-Path|{{Up}}]] | ||
|param1=<path number>|param1_desc= | {{Command|syntax=ROTATE_PATH <path number>, <vx>, <vy>, <vz>, <angle> | ||
|param2=<xc>|param2_desc= | |description=:Rotate a numbered [[macro path]]. | ||
|param3=<yc>|param3_desc= | |||
|param4=<zc>|param4_desc= | |param1=<path number>|param1_desc={{path number}} | ||
|param5=<angle>|param5_desc= | |param2=<xc>|param2_desc={{vx}} | ||
|param3=<yc>|param3_desc={{vy}} | |||
|param4=<zc>|param4_desc={{vz}} | |||
|param5=<angle>|param5_desc={{angle}} | |||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :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