Difference between revisions of "ARC"

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

Latest revision as of 15: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