ADD OP PATH ARC: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=ADD_OP_PATH_ARC <xe>, <ye>, <ze>, <xc>, <yc>, <zc>, <radius>, <angle>
{{Command|syntax=ADD_OP_PATH_ARC <xe>, <ye>, <ze>, <xc>, <yc>, <zc>, <radius>, <angle>
|description=:
|description=:Add an arc move to the end of the current [[macro path]].


|param1=<xe>|param1_desc={{set arc xe}}
|param1=<xe>|param1_desc={{set arc xe}}
Line 15: Line 15:


===Example===
===Example===
:ADD_OP_PATH_ARC
:ADD_OP_PATH_ARC 2, 5, 0, 1, 4, 0, 1, 90


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

Revision as of 21:51, 13 January 2011

Up

Command

ADD_OP_PATH_ARC <xe>, <ye>, <ze>, <xc>, <yc>, <zc>, <radius>, <angle>


Add an arc move to the end of the current macro path.

Parameters

<xe>
X value of the arc end
<ye>
Y value of the arc end
<ze>
Z value of the arc end
<xc>
X value of the arc center
<yc>
Y value of the arc center
<zc>
Z value of the arc center
<radius>
radius of the circle or arc.
<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

ADD_OP_PATH_ARC 2, 5, 0, 1, 4, 0, 1, 90