Difference between revisions of "GET OP FEAT ARC DATA"

From Macros Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
[[Operations:Operation_Tool-Path|{{Up}}]]
 +
 
{{Command|syntax=GET_OP_FEAT_ARC_DATA <op number>, <feature num>, <rad>, <dir>, <xc>, <yc>, <nowiki>[<zc>]</nowiki>
 
{{Command|syntax=GET_OP_FEAT_ARC_DATA <op number>, <feature num>, <rad>, <dir>, <xc>, <yc>, <nowiki>[<zc>]</nowiki>
|description=:
+
|description=:Get the start of a feature in an operation's toolpath.
  
 
|param1=<op number>|param1_desc={{op number}}
 
|param1=<op number>|param1_desc={{op number}}
|param2=<feature num>|param2_desc={{feature num}}
+
|param2=<feature number>|param2_desc={{path_feature num}}
|param3=<rad>|param3_desc={{getradius}}
+
|param3=<rad>|param3_desc={{get feat rad}}
|param4=<dir>|param4_desc= {{getdir}}
+
|param4=<dir>|param4_desc={{get feat dir}}
|param5=<xc>|param5_desc={{getxc}}
+
|param5=<xc>|param5_desc={{get feat xc}}
|param6=<yc>|param6_desc={{getyc}}
+
|param6=<yc>|param6_desc={{get feat yc}}
|param7=<nowiki>[<zc>]</nowiki>|param7_desc={{getzc}}
+
|param7=<zc>|param7_desc={{get feat zc}}
 +
 
 
}}
 
}}
  
 
===Example===
 
===Example===
:GET_OP_FEAT_ARC_DATA
+
:GET_OP_FEAT_ARC_DATA 1, 12, ArcRad, ArcDir, xc, yc, zc
  
 
[[Category:Operations]]
 
[[Category:Operations]]

Latest revision as of 11:52, 14 January 2011

Up

Command

GET_OP_FEAT_ARC_DATA <op number>, <feature num>, <rad>, <dir>, <xc>, <yc>, [<zc>]


Get the start of a feature in an operation's toolpath.

Parameters

<op number>
Operation number.
<feature number>
Feature number. 1 for the first feature, 2 for the second etc.
<rad>
The name of a numeric variable to be set to the radius of the feature
<dir>
The name of a numeric variable to be set to the feature direction (1 = CW, 0 = CCW)
<xc>
The name of a numeric variable to be set to the X center of the feature
<yc>
The name of a numeric variable to be set to the Y center of the feature
<zc>
The name of a numeric variable to be set to the Z center of the feature

Example

GET_OP_FEAT_ARC_DATA 1, 12, ArcRad, ArcDir, xc, yc, zc