Difference between revisions of "ARC"

From Macros Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
{{Command|syntax=[[Image:arc.png|right|ARC]]ARC <xc>, <yc>, <xe>, <ye>, [<ze>], <CW/CCW>
 
{{Command|syntax=[[Image:arc.png|right|ARC]]ARC <xc>, <yc>, <xe>, <ye>, [<ze>], <CW/CCW>
|description=:Create an arc as part of a [[CONTOUR]] definition.  
+
|description=:Create an arc as part of a [[CONTOUR]] or [CONTOUR_3D]] definition.  
  
 
|param1=<xc>|param1_desc={{set arc xc}}
 
|param1=<xc>|param1_desc={{set arc xc}}
Line 8: Line 8:
 
|param3=<xe>|param3_desc={{set arc xe}}
 
|param3=<xe>|param3_desc={{set arc xe}}
 
|param4=<ye>|param4_desc={{set arc ye}}
 
|param4=<ye>|param4_desc={{set arc ye}}
|param5=<ze> (Optional, default zero)|param5_desc={{set arc ze}}
+
|param5=[<ze>]|param5_desc={{set arc ze}}
 
|param6=<CW/CCW>|param6_desc={{CW/CCW}}
 
|param6=<CW/CCW>|param6_desc={{CW/CCW}}
 
}}
 
}}

Latest revision as of 14:03, 11 January 2011

Up

Command

ARC
ARC <xc>, <yc>, <xe>, <ye>, [<ze>], <CW/CCW>


Create an arc as part of a CONTOUR or [CONTOUR_3D]] definition.

Parameters

<xc>
X value of the arc center
<yc>
Y value of the arc center
<xe>
X value of the arc end
<ye>
Y value of the arc end
[<ze>]
Z value of the arc end
<CW/CCW>
Clockwise / Counter-Clockwise

Example

ARC 0.5, 0.5, 4, 0, cw
For an example macro see Create_Contour.mac