Difference between revisions of "ARC"

From Macros Wiki
Jump to: navigation, search
(New page: {{Command|syntax=ARC <xc>, <yc>, <xe>, <ye>, [<ze>], <CW/CCW> |description=*DESCRPTION* |param1=<xc>|param1_desc={{xc}} |param2=<yc>|param2_desc={{yc}} |param3=<xe>|param3_desc={{xe}} |pa...)
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=ARC <xc>, <yc>, <xe>, <ye>, [<ze>], <CW/CCW>
+
[[Geometry:Creating_Geometry|{{Up}}]]
|description=*DESCRPTION*
 
  
|param1=<xc>|param1_desc={{xc}}
+
{{Command|syntax=[[Image:arc.png|right|ARC]]ARC <xc>, <yc>, <xe>, <ye>, [<ze>], <CW/CCW>
|param2=<yc>|param2_desc={{yc}}
+
|description=:Create an arc as part of a [[CONTOUR]] or [CONTOUR_3D]] definition.
|param3=<xe>|param3_desc={{xe}}
+
 
|param4=<ye>|param4_desc={{ye}}
+
|param1=<xc>|param1_desc={{set arc xc}}
|param5=[<ze>]|param5_desc={{ze}}
+
|param2=<yc>|param2_desc={{set arc yc}}
 +
|param3=<xe>|param3_desc={{set arc xe}}
 +
|param4=<ye>|param4_desc={{set arc ye}}
 +
|param5=[<ze>]|param5_desc={{set arc ze}}
 
|param6=<CW/CCW>|param6_desc={{CW/CCW}}
 
|param6=<CW/CCW>|param6_desc={{CW/CCW}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:- ARC
+
:ARC 0.5, 0.5, 4, 0, cw
 
+
:For an example macro see  [[Create_Contour.mac]]
[[Category:Language]]
+
[[Category:Geometry]]

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