GET OP FEAT ARC DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{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 | |param2=<feature number>|param2_desc={{path_feature num}} | ||
|param3=<rad>|param3_desc={{ | |param3=<rad>|param3_desc={{get feat rad}} | ||
|param4=<dir>|param4_desc= {{ | |param4=<dir>|param4_desc={{get feat dir}} | ||
|param5=<xc>|param5_desc={{ | |param5=<xc>|param5_desc={{get feat xc}} | ||
|param6=<yc>|param6_desc={{ | |param6=<yc>|param6_desc={{get feat yc}} | ||
|param7= | |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 16:52, 14 January 2011
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